diff options
author | Robert Haas <rhaas@postgresql.org> | 2023-01-20 15:23:04 -0500 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2023-01-20 15:23:04 -0500 |
commit | 6c1d5ba4867828b387799a291cea9aaee2a8e3fc (patch) | |
tree | 285876160c862c498d38dae27350681c7c5ebf45 /src | |
parent | e86c8b728f3c905e5993211f6fd1d107d5a4614f (diff) | |
download | postgresql-6c1d5ba4867828b387799a291cea9aaee2a8e3fc.tar.gz postgresql-6c1d5ba4867828b387799a291cea9aaee2a8e3fc.zip |
Update docs and error message for superuser_reserved_connections.
Commit ea92368cd1da1e290f9ab8efb7f60cb7598fc310 made max_wal_senders
a separate pool of backends from max_connections, but the documentation
and error message for superuser_reserved_connections weren't updated
at the time, and as a result are somewhat misleading. Update.
This is arguably a back-patchable bug fix, but because it seems quite
minor, no back-patch.
Patch by Nathan Bossart. Reviewed by Tushar Ahuja and by me.
Discussion: http://postgr.es/m/20230119194601.GA4105788@nathanxps13
Diffstat (limited to 'src')
-rw-r--r-- | src/backend/utils/init/postinit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/utils/init/postinit.c b/src/backend/utils/init/postinit.c index ae5a85ed65b..9145d96b385 100644 --- a/src/backend/utils/init/postinit.c +++ b/src/backend/utils/init/postinit.c @@ -931,7 +931,7 @@ InitPostgres(const char *in_dbname, Oid dboid, !HaveNFreeProcs(ReservedBackends)) ereport(FATAL, (errcode(ERRCODE_TOO_MANY_CONNECTIONS), - errmsg("remaining connection slots are reserved for non-replication superuser connections"))); + errmsg("remaining connection slots are reserved for superusers"))); /* Check replication permissions needed for walsender processes. */ if (am_walsender) |