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:
@@ -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;
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user