mirror of
https://github.com/postgres/postgres.git
synced 2025-11-18 02:02:55 +03:00
Message fixes and style improvements
This commit is contained in:
@@ -3627,7 +3627,7 @@ TerminateOtherDBBackends(Oid databaseId)
|
||||
if (nprepared > 0)
|
||||
ereport(ERROR,
|
||||
(errcode(ERRCODE_OBJECT_IN_USE),
|
||||
errmsg("database \"%s\" is being used by prepared transaction",
|
||||
errmsg("database \"%s\" is being used by prepared transactions",
|
||||
get_database_name(databaseId)),
|
||||
errdetail_plural("There is %d prepared transaction using the database.",
|
||||
"There are %d prepared transactions using the database.",
|
||||
|
||||
Reference in New Issue
Block a user