Commit 8dead08c authored by Peter Eisentraut's avatar Peter Eisentraut

Fix lack of message pluralization

parent e5592c61
...@@ -5299,7 +5299,9 @@ RegisterBackgroundWorker(BackgroundWorker *worker) ...@@ -5299,7 +5299,9 @@ RegisterBackgroundWorker(BackgroundWorker *worker)
ereport(LOG, ereport(LOG,
(errcode(ERRCODE_CONFIGURATION_LIMIT_EXCEEDED), (errcode(ERRCODE_CONFIGURATION_LIMIT_EXCEEDED),
errmsg("too many background workers"), errmsg("too many background workers"),
errdetail("Up to %d background workers can be registered with the current settings.", errdetail_plural("Up to %d background worker can be registered with the current settings.",
"Up to %d background workers can be registered with the current settings.",
max_worker_processes,
max_worker_processes), max_worker_processes),
errhint("Consider increasing the configuration parameter \"max_worker_processes\"."))); errhint("Consider increasing the configuration parameter \"max_worker_processes\".")));
return; return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment