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:25:27 -0400 |
commit | 303f4d1012a20102d9fec6f486da0b381184a718 (patch) | |
tree | 6affe514b61f198d1f53914341da0bd051f944e6 /src/backend/commands/dbcommands.c | |
parent | d85e7fac415722bccc83dc96baccdb398ea5a2f4 (diff) | |
download | postgresql-303f4d1012a20102d9fec6f486da0b381184a718.tar.gz postgresql-303f4d1012a20102d9fec6f486da0b381184a718.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 f480be88450..7831e900ba7 100644 --- a/src/backend/commands/dbcommands.c +++ b/src/backend/commands/dbcommands.c @@ -841,8 +841,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 |