mirror of
https://github.com/postgres/postgres.git
synced 2025-06-16 06:01:02 +03:00
Assorted message fixes and improvements
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user