Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 95b44bb

Browse filesBrowse files
committed
Unify some error messages
1 parent c61c0cb commit 95b44bb
Copy full SHA for 95b44bb

File tree

Expand file treeCollapse file tree

2 files changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+2
-2
lines changed

‎contrib/pg_prewarm/autoprewarm.c

Copy file name to clipboardExpand all lines: contrib/pg_prewarm/autoprewarm.c
+1-1Lines 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

Copy file name to clipboardExpand all lines: src/backend/postmaster/bgworker.c
+1-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.