Re: Missing compiled default for channel_binding param from PQconndefaults

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Daniele Varrazzo <daniele.varrazzo@gmail.com>
Cc: pgsql-bugs@lists.postgresql.org
Date: 2020-12-28T03:00:50Z
Lists: pgsql-bugs
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?

			regards, tom lane



Commits

  1. Expose the default for channel_binding in PQconndefaults().