diff options
author | Daniel Gustafsson <dgustafsson@postgresql.org> | 2025-04-13 21:52:29 +0200 |
---|---|---|
committer | Daniel Gustafsson <dgustafsson@postgresql.org> | 2025-04-13 21:53:03 +0200 |
commit | 2970c75dd9824a0eeb1d1aeb5a42f59d5c9904d8 (patch) | |
tree | 9d744b2337198855bd4c6216afea6bab7c7f8163 /src | |
parent | 64e193f5dda2075ecc6356625992e190a4347df6 (diff) | |
download | postgresql-2970c75dd9824a0eeb1d1aeb5a42f59d5c9904d8.tar.gz postgresql-2970c75dd9824a0eeb1d1aeb5a42f59d5c9904d8.zip |
Mark sslkeylogfile as Debug option
Mark the sslkeylogile option as "D" debug as this truly is a debug
option, and it will allow postgres_fdw et.al to filter it out as
well. Also update the display length to match that for an ssl key
as they are both filename based inputs.
Author: Daniel Gustafsson <daniel@yesql.se>
Reported-by: Jacob Champion <jacob.champion@enterprisedb.com>
Discussion: https://postgr.es/m/CAOYmi+=5GyBKpu7bU4D_xkAnYJTj=rMzGaUvHO99-DpNG_YKcw@mail.gmail.com
Diffstat (limited to 'src')
-rw-r--r-- | src/interfaces/libpq/fe-connect.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interfaces/libpq/fe-connect.c b/src/interfaces/libpq/fe-connect.c index 0258d9ace3c..bd86de53c67 100644 --- a/src/interfaces/libpq/fe-connect.c +++ b/src/interfaces/libpq/fe-connect.c @@ -402,7 +402,7 @@ static const internalPQconninfoOption PQconninfoOptions[] = { offsetof(struct pg_conn, oauth_scope)}, {"sslkeylogfile", NULL, NULL, NULL, - "SSL-Key-Log-File", "", 0, /* sizeof("") = 0 */ + "SSL-Key-Log-File", "D", 64, offsetof(struct pg_conn, sslkeylogfile)}, /* Terminating entry --- MUST BE LAST */ |