diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2013-07-09 20:49:44 -0400 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2013-07-09 21:04:55 -0400 |
commit | bf470b37cc7c9e018e9f789996ef45e35b442487 (patch) | |
tree | 35dd44749c6830d259f354add64fccf691353034 | |
parent | d0450f1fa60e1d3485e7ec52bdc5e51a03b00cfa (diff) | |
download | postgresql-bf470b37cc7c9e018e9f789996ef45e35b442487.tar.gz postgresql-bf470b37cc7c9e018e9f789996ef45e35b442487.zip |
Fix lack of message pluralization
-rw-r--r-- | src/backend/postmaster/postmaster.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/backend/postmaster/postmaster.c b/src/backend/postmaster/postmaster.c index 87e60621396..ec2677380bf 100644 --- a/src/backend/postmaster/postmaster.c +++ b/src/backend/postmaster/postmaster.c @@ -5227,8 +5227,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.", - maxworkers))); + 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.", + maxworkers, + maxworkers))); return; } |