Content-Length: 258873 | pFad | http://github.com/postgrespro/postgres_cluster/commit/31d2b11b94416ba94624ab07bcc1cb4a47c58c2e

82 Expose the default for channel_binding in PQconndefaults(). · postgrespro/postgres_cluster@31d2b11 · GitHub
Skip to content

Commit 31d2b11

Browse files
committed
Expose the default for channel_binding in PQconndefaults().
If there's a static default value for a connection option, it should be shown in the PQconninfoOptions array. Daniele Varrazzo Discussion: https://postgr.es/m/CA+mi_8Zo8Rgn7p+6ZRY7QdDu+23ukT9AvoHNyPbgKACxwgGhZA@mail.gmail.com
1 parent 63d78d1 commit 31d2b11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/interfaces/libpq/fe-connect.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ static const internalPQconninfoOption PQconninfoOptions[] = {
214214
"Database-Password-File", "", 64,
215215
offsetof(struct pg_conn, pgpassfile)},
216216

217-
{"channel_binding", "PGCHANNELBINDING", NULL, NULL,
217+
{"channel_binding", "PGCHANNELBINDING", DefaultChannelBinding, NULL,
218218
"Channel-Binding", "", 8, /* sizeof("require") == 8 */
219219
offsetof(struct pg_conn, channel_binding)},
220220

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/31d2b11b94416ba94624ab07bcc1cb4a47c58c2e

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy