From a6283f97069e6f747bdc2052e9f755a9136a5edc Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Fri, 5 Sep 2014 01:20:33 -0400 Subject: Assorted message fixes and improvements --- src/backend/commands/dbcommands.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/backend/commands/dbcommands.c') 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 -- cgit v1.2.3