Missing compiled default for channel_binding param from PQconndefaults
Daniele Varrazzo <daniele.varrazzo@gmail.com>
From: Daniele Varrazzo <daniele.varrazzo@gmail.com>
To: pgsql-bugs@lists.postgresql.org
Date: 2020-12-28T01:27:08Z
Lists: pgsql-bugs
Attachments
- default-channel-binding.patch (text/x-patch) patch
$ python >>> import psycopg3 >>> print([info for info in psycopg3.pq.Conninfo.get_defaults() if info.keyword == b"channel_binding"]) [ConninfoOption(keyword=b'channel_binding', envvar=b'PGCHANNELBINDING', compiled=None, val=None, label=b'Channel-Binding', dispchar=b'', dispsize=8)] compiled is expected to be "prefer" or "disable" as per docs. Please find a patch attached. Cheers -- Daniele
Commits
-
Expose the default for channel_binding in PQconndefaults().
- cf61b0734c61 14.0 landed
- 31d2b11b9441 13.2 landed