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:
@ -5227,8 +5227,10 @@ 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.",
|
||||||
maxworkers)));
|
"Up to %d background workers can be registered with the current settings.",
|
||||||
|
maxworkers,
|
||||||
|
maxworkers)));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user