From: Peter Eisentraut Date: Wed, 10 Jul 2013 00:49:44 +0000 (-0400) Subject: Fix lack of message pluralization X-Git-Url: http://waps.l3s.uni-hannover.de/gitweb/?a=commitdiff_plain;h=8dead08c54826e5927bf7a07caa94a86e6981aa0;p=users%2Frhaas%2Fpostgres.git Fix lack of message pluralization --- diff --git a/src/backend/postmaster/postmaster.c b/src/backend/postmaster/postmaster.c index e3b32cbe08..496192d57c 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; }