Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6c1d5ba

Browse files
committed
Update docs and error message for superuser_reserved_connections.
Commitea92368 made max_wal_sendersa separate pool of backends from max_connections, but the documentationand error message for superuser_reserved_connections weren't updatedat the time, and as a result are somewhat misleading. Update.This is arguably a back-patchable bug fix, but because it seems quiteminor, no back-patch.Patch by Nathan Bossart. Reviewed by Tushar Ahuja and by me.Discussion:http://postgr.es/m/20230119194601.GA4105788@nathanxps13
1 parente86c8b7 commit6c1d5ba

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

‎doc/src/sgml/config.sgml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -725,8 +725,7 @@ include_dir 'conf.d'
725725
number of active concurrent connections is at least
726726
<varname>max_connections</varname> minus
727727
<varname>superuser_reserved_connections</varname>, new
728-
connections will be accepted only for superusers, and no
729-
new replication connections will be accepted.
728+
connections will be accepted only for superusers.
730729
</para>
731730

732731
<para>

‎src/backend/utils/init/postinit.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -931,7 +931,7 @@ InitPostgres(const char *in_dbname, Oid dboid,
931931
!HaveNFreeProcs(ReservedBackends))
932932
ereport(FATAL,
933933
(errcode(ERRCODE_TOO_MANY_CONNECTIONS),
934-
errmsg("remaining connection slots are reserved fornon-replication superuser connections")));
934+
errmsg("remaining connection slots are reserved forsuperusers")));
935935

936936
/* Check replication permissions needed for walsender processes. */
937937
if (am_walsender)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp