1
0
mirror of https://github.com/postgres/postgres.git synced 2025-04-18 13:44:19 +03:00

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
This commit is contained in:
Daniel Gustafsson 2025-04-13 21:52:29 +02:00
parent 64e193f5dd
commit 2970c75dd9

View File

@ -402,7 +402,7 @@ static const internalPQconninfoOption PQconninfoOptions[] = {
offsetof(struct pg_conn, oauth_scope)}, offsetof(struct pg_conn, oauth_scope)},
{"sslkeylogfile", NULL, NULL, NULL, {"sslkeylogfile", NULL, NULL, NULL,
"SSL-Key-Log-File", "", 0, /* sizeof("") = 0 */ "SSL-Key-Log-File", "D", 64,
offsetof(struct pg_conn, sslkeylogfile)}, offsetof(struct pg_conn, sslkeylogfile)},
/* Terminating entry --- MUST BE LAST */ /* Terminating entry --- MUST BE LAST */