mirror of
https://github.com/postgres/postgres.git
synced 2026-07-15 20:52:53 -04:00
Fix lack of message pluralization
This commit is contained in:
parent
d0450f1fa6
commit
bf470b37cc
1 changed files with 4 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue