1
0
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:
Peter Eisentraut
2020-09-14 06:42:07 +02:00
parent ac673a1aaf
commit 3e0242b24c
24 changed files with 92 additions and 89 deletions

View File

@@ -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.",