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

Commitd997bd2

Browse files
committed
Document that TCP keepalive settings read as 0 on Unix-socket connections.
Per bug #7631 from Rob Johnson. The code is operating as designed, but thedocs didn't explain it.
1 parentb1f7ee9 commitd997bd2

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

‎doc/src/sgml/config.sgml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -551,8 +551,9 @@ SET ENABLE_SEQSCAN TO OFF;
551551
an otherwise idle connection. A value of 0 uses the system default.
552552
This parameter is supported only on systems that support the
553553
<symbol>TCP_KEEPIDLE</> or <symbol>TCP_KEEPALIVE</> symbols, and on
554-
Windows; on other systems, it must be zero. This parameter is ignored
555-
for connections made via a Unix-domain socket.
554+
Windows; on other systems, it must be zero.
555+
In sessions connected via a Unix-domain socket, this parameter is
556+
ignored and always reads as zero.
556557
</para>
557558
<note>
558559
<para>
@@ -574,8 +575,9 @@ SET ENABLE_SEQSCAN TO OFF;
574575
otherwise idle connection. A value of 0 uses the system default.
575576
This parameter is supported only on systems that support the
576577
<symbol>TCP_KEEPINTVL</> symbol, and on Windows; on other systems, it
577-
must be zero. This parameter is ignored for connections made via a
578-
Unix-domain socket.
578+
must be zero.
579+
In sessions connected via a Unix-domain socket, this parameter is
580+
ignored and always reads as zero.
579581
</para>
580582
<note>
581583
<para>
@@ -596,8 +598,9 @@ SET ENABLE_SEQSCAN TO OFF;
596598
Specifies the number of keepalive packets to send on an otherwise idle
597599
connection. A value of 0 uses the system default. This parameter is
598600
supported only on systems that support the <symbol>TCP_KEEPCNT</>
599-
symbol; on other systems, it must be zero. This parameter is ignored
600-
for connections made via a Unix-domain socket.
601+
symbol; on other systems, it must be zero.
602+
In sessions connected via a Unix-domain socket, this parameter is
603+
ignored and always reads as zero.
601604
</para>
602605
<note>
603606
<para>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp