On Mon, 28 Dec 2020 at 03:00, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>
> I wrote:
> > If the null parameter gets passed through cleanly, why don't we end
> > up with connectOptions2 inserting the correct value (line 1257 as
> > of HEAD)?
>
> Oh, wait, I misunderstood your original complaint. It's not that
> connections are failing, it's just that you would like PQconndefaults
> to make the default value visible if there is one, right?
Yes, I was about to reply exactly that :) I've only found a
discrepancy between PQconninfo(pgconn) and PQconndefaults(), not a
connection problem
Cheers
-- Daniele