Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit e9b7aee

Browse files
committed
A few follow-up fixes for GUC name quoting
Fixups for 17974ec: Some messages were missed (and some were new since the patch was originally proposed), and there was a typo introduced.
1 parent 17974ec commit e9b7aee

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

src/backend/libpq/be-secure-openssl.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ be_tls_init(bool isServerStart)
224224
{
225225
ereport(isServerStart ? FATAL : LOG,
226226
/*- translator: first %s is a GUC option name, second %s is its value */
227-
(errmsg("%s setting \"%s\" not supported by this build",
227+
(errmsg("\"%s\" setting \"%s\" not supported by this build",
228228
"ssl_max_protocol_version",
229229
GetConfigOption("ssl_max_protocol_version",
230230
false, false))));

src/backend/postmaster/bgworker.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -928,7 +928,7 @@ RegisterBackgroundWorker(BackgroundWorker *worker)
928928
"Up to %d background workers can be registered with the current settings.",
929929
max_worker_processes,
930930
max_worker_processes),
931-
errhint("Consider increasing the configuration parameter max_worker_processes.")));
931+
errhint("Consider increasing the configuration parameter \"max_worker_processes\".")));
932932
return;
933933
}
934934

src/backend/postmaster/pgarch.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -895,7 +895,7 @@ HandlePgArchInterrupts(void)
895895
*/
896896
ereport(LOG,
897897
(errmsg("restarting archiver process because value of "
898-
"archive_library was changed")));
898+
"\"archive_library\" was changed")));
899899

900900
proc_exit(0);
901901
}

src/backend/replication/logical/slotsync.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1047,7 +1047,7 @@ ValidateSlotSyncParams(int elevel)
10471047
if (wal_level < WAL_LEVEL_LOGICAL)
10481048
ereport(ERROR,
10491049
errcode(ERRCODE_INVALID_PARAMETER_VALUE),
1050-
errmsg("slot synchronization requires wal_level >= \"logical\""));
1050+
errmsg("slot synchronization requires \"wal_level\" >= \"logical\""));
10511051

10521052
/*
10531053
* A physical replication slot(primary_slot_name) is required on the

src/backend/utils/misc/guc_tables.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1114,7 +1114,7 @@ struct config_bool ConfigureNamesBool[] =
11141114
gettext_noop("Continues processing past damaged page headers."),
11151115
gettext_noop("Detection of a damaged page header normally causes PostgreSQL to "
11161116
"report an error, aborting the current transaction. Setting "
1117-
"\"zero_damaged_page\" to true causes the system to instead report a "
1117+
"\"zero_damaged_pages\" to true causes the system to instead report a "
11181118
"warning, zero out the damaged page, and continue processing. This "
11191119
"behavior will destroy data, namely all the rows on the damaged page."),
11201120
GUC_NOT_IN_SAMPLE

0 commit comments

Comments
 (0)