Skip to content

Commit bf470b3

Browse files
committed
Fix lack of message pluralization
1 parent d0450f1 commit bf470b3

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
@@ -5227,8 +5227,10 @@ RegisterBackgroundWorker(BackgroundWorker *worker)
52275227
ereport(LOG,
52285228
(errcode(ERRCODE_CONFIGURATION_LIMIT_EXCEEDED),
52295229
errmsg("too many background workers"),
5230-
errdetail("Up to %d background workers can be registered with the current settings.",
5231-
maxworkers)));
5230+
errdetail_plural("Up to %d background worker can be registered with the current settings.",
5231+
"Up to %d background workers can be registered with the current settings.",
5232+
maxworkers,
5233+
maxworkers)));
52325234
return;
52335235
}
52345236

0 commit comments

Comments
 (0)