summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Eisentraut2013-07-10 00:49:44 +0000
committerPeter Eisentraut2013-07-10 00:49:44 +0000
commit8dead08c54826e5927bf7a07caa94a86e6981aa0 (patch)
tree6d4a077f1b3311c45c8b412716834f30cde886cb /src
parente5592c61adb0766eaee53ec07d2f05783d1c6548 (diff)
Fix lack of message pluralization
Diffstat (limited to 'src')
-rw-r--r--src/backend/postmaster/postmaster.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/backend/postmaster/postmaster.c b/src/backend/postmaster/postmaster.c
index e3b32cbe080..496192d57c0 100644
--- a/src/backend/postmaster/postmaster.c
+++ b/src/backend/postmaster/postmaster.c
@@ -5299,8 +5299,10 @@ RegisterBackgroundWorker(BackgroundWorker *worker)
ereport(LOG,
(errcode(ERRCODE_CONFIGURATION_LIMIT_EXCEEDED),
errmsg("too many background workers"),
- errdetail("Up to %d background workers can be registered with the current settings.",
- max_worker_processes),
+ 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),
errhint("Consider increasing the configuration parameter \"max_worker_processes\".")));
return;
}