1
0
mirror of https://github.com/postgres/postgres.git synced 2025-11-07 19:06:32 +03:00

Error message wording improvements

This commit is contained in:
Peter Eisentraut
2023-06-29 09:14:55 +02:00
parent dda9f8e7bc
commit 39a584dc90
4 changed files with 20 additions and 20 deletions

View File

@@ -946,7 +946,7 @@ InitPostgres(const char *in_dbname, Oid dboid,
if (nfree < SuperuserReservedConnections)
ereport(FATAL,
(errcode(ERRCODE_TOO_MANY_CONNECTIONS),
errmsg("remaining connection slots are reserved for roles with %s",
errmsg("remaining connection slots are reserved for roles with the %s attribute",
"SUPERUSER")));
if (!has_privs_of_role(GetUserId(), ROLE_PG_USE_RESERVED_CONNECTIONS))