Skip to content

Commit 8dead08

Browse files
committed
Fix lack of message pluralization
1 parent e5592c6 commit 8dead08

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/backend/postmaster/postmaster.c

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5299,8 +5299,10 @@ RegisterBackgroundWorker(BackgroundWorker *worker)
52995299
ereport(LOG,
53005300
(errcode(ERRCODE_CONFIGURATION_LIMIT_EXCEEDED),
53015301
errmsg("too many background workers"),
5302-
errdetail("Up to %d background workers can be registered with the current settings.",
5303-
max_worker_processes),
5302+
errdetail_plural("Up to %d background worker can be registered with the current settings.",
5303+
"Up to %d background workers can be registered with the current settings.",
5304+
max_worker_processes,
5305+
max_worker_processes),
53045306
errhint("Consider increasing the configuration parameter \"max_worker_processes\".")));
53055307
return;
53065308
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy