Skip to content

Commit 95b44bb

Browse files
committed
Unify some error messages
1 parent c61c0cb commit 95b44bb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

contrib/pg_prewarm/autoprewarm.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -867,7 +867,7 @@ apw_start_database_worker(void)
867867
ereport(ERROR,
868868
(errcode(ERRCODE_INSUFFICIENT_RESOURCES),
869869
errmsg("registering dynamic bgworker autoprewarm failed"),
870-
errhint("Consider increasing configuration parameter \"max_worker_processes\".")));
870+
errhint("Consider increasing the configuration parameter \"%s\".", "max_worker_processes")));
871871

872872
/*
873873
* Ignore return value; if it fails, postmaster has died, but we have

src/backend/postmaster/bgworker.c

Lines changed: 1 addition & 1 deletion
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 \"%s\".", "max_worker_processes")));
932932
return;
933933
}
934934

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy