Skip to content

Commit 2970c75

Browse files
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
1 parent 64e193f commit 2970c75

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
@@ -402,7 +402,7 @@ static const internalPQconninfoOption PQconninfoOptions[] = {
402402
offsetof(struct pg_conn, oauth_scope)},
403403

404404
{"sslkeylogfile", NULL, NULL, NULL,
405-
"SSL-Key-Log-File", "", 0, /* sizeof("") = 0 */
405+
"SSL-Key-Log-File", "D", 64,
406406
offsetof(struct pg_conn, sslkeylogfile)},
407407

408408
/* Terminating entry --- MUST BE LAST */

0 commit comments

Comments
 (0)