1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-03 20:02:46 +03:00

Fix lack of message pluralization

This commit is contained in:
Peter Eisentraut
2013-07-09 20:49:44 -04:00
parent d0450f1fa6
commit bf470b37cc

View File

@ -5227,7 +5227,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.",
maxworkers,
maxworkers))); maxworkers)));
return; return;
} }