mirror of
https://github.com/postgres/postgres.git
synced 2025-05-02 11:44:50 +03:00
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
This commit is contained in:
parent
63d78d106d
commit
31d2b11b94
@ -214,7 +214,7 @@ static const internalPQconninfoOption PQconninfoOptions[] = {
|
||||
"Database-Password-File", "", 64,
|
||||
offsetof(struct pg_conn, pgpassfile)},
|
||||
|
||||
{"channel_binding", "PGCHANNELBINDING", NULL, NULL,
|
||||
{"channel_binding", "PGCHANNELBINDING", DefaultChannelBinding, NULL,
|
||||
"Channel-Binding", "", 8, /* sizeof("require") == 8 */
|
||||
offsetof(struct pg_conn, channel_binding)},
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user