We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7159f3 commit 95825afCopy full SHA for 95825af
src/utils/pgut.c
@@ -187,8 +187,10 @@ pgut_get_conninfo_string(PGconn *conn)
187
(option->val != NULL && option->val[0] == '\0'))
188
continue;
189
190
- /* do not print password into the file */
191
- if (strcmp(option->keyword, "password") == 0)
+ /* do not print password, passfile and options into the file */
+ if (strcmp(option->keyword, "password") == 0 ||
192
+ strcmp(option->keyword, "passfile") == 0 ||
193
+ strcmp(option->keyword, "options") == 0)
194
195
196
if (!firstkeyword)
0 commit comments