1
0
mirror of https://github.com/postgres/postgres.git synced 2025-11-22 12:22:45 +03:00

Apply more quoting to GUC names in messages

This is a continuation of 17974ec259.  More quotes are applied to
GUC names in error messages and hints, taking care of what seems to be
all the remaining holes currently in the tree for the GUCs.

Author: Peter Smith
Discussion: https://postgr.es/m/CAHut+Pv-kSN8SkxSdoHano_wPubqcg5789ejhCDZAcLFceBR-w@mail.gmail.com
This commit is contained in:
Michael Paquier
2024-09-04 13:50:44 +09:00
parent 6c2b5edecc
commit b4db64270e
15 changed files with 23 additions and 23 deletions

View File

@@ -257,7 +257,7 @@ BackgroundWorkerStateChange(bool allow_new_workers)
if (max_worker_processes != BackgroundWorkerData->total_slots)
{
ereport(LOG,
(errmsg("inconsistent background worker state (max_worker_processes=%d, total_slots=%d)",
(errmsg("inconsistent background worker state (\"max_worker_processes\"=%d, total slots=%d)",
max_worker_processes,
BackgroundWorkerData->total_slots)));
return;

View File

@@ -663,7 +663,7 @@ CheckArchiveTimeout(void)
* assume nothing happened.
*/
if (XLogSegmentOffset(switchpoint, wal_segment_size) != 0)
elog(DEBUG1, "write-ahead log switch forced (archive_timeout=%d)",
elog(DEBUG1, "write-ahead log switch forced (\"archive_timeout\"=%d)",
XLogArchiveTimeout);
}