From 1817aa813b5cde2136960510e04a0428830c5e3a Mon Sep 17 00:00:00 2001 From: Peter Smith Date: Tue, 3 Sep 2024 09:47:50 +1000 Subject: [PATCH v10] Add quotes for GUCs - enum --- src/backend/access/transam/xlog.c | 2 +- src/bin/pg_basebackup/pg_createsubscriber.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/backend/access/transam/xlog.c b/src/backend/access/transam/xlog.c index ee0fb0e..8c9e048 100644 --- a/src/backend/access/transam/xlog.c +++ b/src/backend/access/transam/xlog.c @@ -9111,7 +9111,7 @@ do_pg_backup_stop(BackupState *state, bool waitforarchive) ereport(ERROR, (errcode(ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE), errmsg("WAL level not sufficient for making an online backup"), - errhint("wal_level must be set to \"replica\" or \"logical\" at server start."))); + errhint("\"wal_level\" must be set to \"replica\" or \"logical\" at server start."))); /* * OK to update backup counter and session-level lock. diff --git a/src/bin/pg_basebackup/pg_createsubscriber.c b/src/bin/pg_basebackup/pg_createsubscriber.c index 764a2d6..e804b2a 100644 --- a/src/bin/pg_basebackup/pg_createsubscriber.c +++ b/src/bin/pg_basebackup/pg_createsubscriber.c @@ -911,7 +911,7 @@ check_publisher(const struct LogicalRepInfo *dbinfo) if (strcmp(wal_level, "logical") != 0) { - pg_log_error("publisher requires wal_level >= \"logical\""); + pg_log_error("publisher requires \"wal_level\" >= \"logical\""); failed = true; } -- 1.8.3.1