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:
parent
d0450f1fa6
commit
bf470b37cc
@ -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…
x
Reference in New Issue
Block a user