From 31d250e049b4e3d51a635edaa2221c11815e40e7 Mon Sep 17 00:00:00 2001 From: Noah Misch Date: Sat, 8 Jun 2019 10:12:26 -0700 Subject: Update stale comments, and fix comment typos. --- src/bin/pg_basebackup/pg_basebackup.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src/bin/pg_basebackup') diff --git a/src/bin/pg_basebackup/pg_basebackup.c b/src/bin/pg_basebackup/pg_basebackup.c index 9f0bede93b9..63f554307cd 100644 --- a/src/bin/pg_basebackup/pg_basebackup.c +++ b/src/bin/pg_basebackup/pg_basebackup.c @@ -1681,12 +1681,7 @@ GenerateRecoveryConf(PGconn *conn) initPQExpBuffer(&conninfo_buf); for (option = connOptions; option && option->keyword; option++) { - /* - * Do not emit this setting if: - the setting is "replication", - * "dbname" or "fallback_application_name", since these would be - * overridden by the libpqwalreceiver module anyway. - not set or - * empty. - */ + /* Omit empty settings and those libpqwalreceiver overrides. */ if (strcmp(option->keyword, "replication") == 0 || strcmp(option->keyword, "dbname") == 0 || strcmp(option->keyword, "fallback_application_name") == 0 || -- cgit v1.2.3