1
0
mirror of https://github.com/postgres/postgres.git synced 2025-04-25 21:42:33 +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,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;
}