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

Commitc22acf4

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 parent6522590 commitc22acf4

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
@@ -555,8 +555,9 @@ SET ENABLE_SEQSCAN TO OFF;
555555
an otherwise idle connection. A value of 0 uses the system default.
556556
This parameter is supported only on systems that support the
557557
<symbol>TCP_KEEPIDLE</> or <symbol>TCP_KEEPALIVE</> symbols, and on
558-
Windows; on other systems, it must be zero. This parameter is ignored
559-
for connections made via a Unix-domain socket.
558+
Windows; on other systems, it must be zero.
559+
In sessions connected via a Unix-domain socket, this parameter is
560+
ignored and always reads as zero.
560561
</para>
561562
<note>
562563
<para>
@@ -578,8 +579,9 @@ SET ENABLE_SEQSCAN TO OFF;
578579
otherwise idle connection. A value of 0 uses the system default.
579580
This parameter is supported only on systems that support the
580581
<symbol>TCP_KEEPINTVL</> symbol, and on Windows; on other systems, it
581-
must be zero. This parameter is ignored for connections made via a
582-
Unix-domain socket.
582+
must be zero.
583+
In sessions connected via a Unix-domain socket, this parameter is
584+
ignored and always reads as zero.
583585
</para>
584586
<note>
585587
<para>
@@ -600,8 +602,9 @@ SET ENABLE_SEQSCAN TO OFF;
600602
Specifies the number of keepalive packets to send on an otherwise idle
601603
connection. A value of 0 uses the system default. This parameter is
602604
supported only on systems that support the <symbol>TCP_KEEPCNT</>
603-
symbol; on other systems, it must be zero. This parameter is ignored
604-
for connections made via a Unix-domain socket.
605+
symbol; on other systems, it must be zero.
606+
In sessions connected via a Unix-domain socket, this parameter is
607+
ignored and always reads as zero.
605608
</para>
606609
<note>
607610
<para>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp