diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2014-09-05 01:20:33 -0400 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2014-09-05 01:24:29 -0400 |
commit | a6283f97069e6f747bdc2052e9f755a9136a5edc (patch) | |
tree | bf75781e87f58fc93ffa6cbc55be5aff2d6a3d14 /src/backend/commands/dbcommands.c | |
parent | 7695f9701a8bf46bf385c96bce2e216ee2ccf93e (diff) | |
download | postgresql-a6283f97069e6f747bdc2052e9f755a9136a5edc.tar.gz postgresql-a6283f97069e6f747bdc2052e9f755a9136a5edc.zip |
Assorted message fixes and improvements
Diffstat (limited to 'src/backend/commands/dbcommands.c')
-rw-r--r-- | src/backend/commands/dbcommands.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/backend/commands/dbcommands.c b/src/backend/commands/dbcommands.c index 5705889f31d..ce674fe7332 100644 --- a/src/backend/commands/dbcommands.c +++ b/src/backend/commands/dbcommands.c @@ -819,8 +819,10 @@ dropdb(const char *dbname, bool missing_ok) (errcode(ERRCODE_OBJECT_IN_USE), errmsg("database \"%s\" is used by a logical decoding slot", dbname), - errdetail("There are %d slot(s), %d of them active", - nslots, nslots_active))); + errdetail_plural("There is %d slot, %d of them active.", + "There are %d slots, %d of them active.", + nslots, + nslots, nslots_active))); /* * Check for other backends in the target database. (Because we hold the |