mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-12 18:34:36 +08:00
Fix lack of message pluralization
This commit is contained in:
parent
e5592c61ad
commit
8dead08c54
@ -5299,8 +5299,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.",
|
||||||
max_worker_processes),
|
"Up to %d background workers can be registered with the current settings.",
|
||||||
|
max_worker_processes,
|
||||||
|
max_worker_processes),
|
||||||
errhint("Consider increasing the configuration parameter \"max_worker_processes\".")));
|
errhint("Consider increasing the configuration parameter \"max_worker_processes\".")));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user