projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d0450f1
)
Fix lack of message pluralization
author
Peter Eisentraut
Wed, 10 Jul 2013 00:49:44 +0000
(20:49 -0400)
committer
Peter Eisentraut
Wed, 10 Jul 2013 01:04:55 +0000
(21:04 -0400)
src/backend/postmaster/postmaster.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/postmaster/postmaster.c
b/src/backend/postmaster/postmaster.c
index 87e60621396714a937052948c592d600a84e95cf..ec2677380bf6d26437e17515f2afb8dd4ab75594 100644
(file)
--- a/
src/backend/postmaster/postmaster.c
+++ b/
src/backend/postmaster/postmaster.c
@@
-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;
}