1- <!-- $PostgreSQL: pgsql/doc/src/sgml/config.sgml,v 1.308 2010/08/24 13:32:25 momjian Exp $ -->
1+ <!-- $PostgreSQL: pgsql/doc/src/sgml/config.sgml,v 1.309 2010/08/26 22:00:19 tgl Exp $ -->
22
33<chapter Id="runtime-config">
44 <title>Server Configuration</title>
@@ -426,6 +426,20 @@ SET ENABLE_SEQSCAN TO OFF;
426426 <filename>/tmp</filename>, but can be changed at build time.
427427 This parameter can only be set at server start.
428428 </para>
429+
430+ <para>
431+ In addition to the socket file itself, which is named
432+ <literal>.s.PGSQL.<replaceable>nnnn</></literal> where
433+ <replaceable>nnnn</> is the server's port number, an ordinary file
434+ named <literal>.s.PGSQL.<replaceable>nnnn</>.lock</literal> will be
435+ created in the <varname>unix_socket_directory</> directory. Neither
436+ file should ever be removed manually.
437+ </para>
438+
439+ <para>
440+ This parameter is irrelevant on Windows, which does not have
441+ Unix-domain sockets.
442+ </para>
429443 </listitem>
430444 </varlistentry>
431445
@@ -445,6 +459,11 @@ SET ENABLE_SEQSCAN TO OFF;
445459 group of the server user. This parameter can only be set at
446460 server start.
447461 </para>
462+
463+ <para>
464+ This parameter is irrelevant on Windows, which does not have
465+ Unix-domain sockets.
466+ </para>
448467 </listitem>
449468 </varlistentry>
450469
@@ -482,6 +501,11 @@ SET ENABLE_SEQSCAN TO OFF;
482501 <para>
483502 This parameter can only be set at server start.
484503 </para>
504+
505+ <para>
506+ This parameter is irrelevant on Windows, which does not have
507+ Unix-domain sockets.
508+ </para>
485509 </listitem>
486510 </varlistentry>
487511
@@ -523,18 +547,19 @@ SET ENABLE_SEQSCAN TO OFF;
523547 </indexterm>
524548 <listitem>
525549 <para>
526- Specifies the number of seconds before sending a keepalive packet on an otherwise idle
527- connection. A value of 0 uses the system default. This parameter is supported
528- only on systems that support the <symbol>TCP_KEEPIDLE</> or <symbol>TCP_KEEPALIVE</>
529- symbols, and on Windows; on other systems, it must be zero. This parameter is
530- ignored for connections made via a Unix-domain socket.
531- <note>
532- <para>
533- On Windows, a value of 0 will set this parameter to 2 hours,
534- since Windows does not provide a way to read the default value.
535- </para>
536- </note>
550+ Specifies the number of seconds before sending a keepalive packet on
551+ an otherwise idle connection. A value of 0 uses the system default.
552+ This parameter is supported only on systems that support the
553+ <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.
537556 </para>
557+ <note>
558+ <para>
559+ On Windows, a value of 0 will set this parameter to 2 hours,
560+ since Windows does not provide a way to read the system default value.
561+ </para>
562+ </note>
538563 </listitem>
539564 </varlistentry>
540565
@@ -545,18 +570,19 @@ SET ENABLE_SEQSCAN TO OFF;
545570 </indexterm>
546571 <listitem>
547572 <para>
548- Specifies the number of seconds between sending keepalives on an otherwise idle
549- connection. A value of 0 uses the system default. This parameter is supported
550- only on systems that support the <symbol>TCP_KEEPINTVL</>
551- symbol, and on Windows; on other systems, it must be zero. This parameter is
552- ignored for connections made via a Unix-domain socket.
553- <note>
554- <para>
555- On Windows, a value of 0 will set this parameter to 1 second,
556- since Windows does not provide a way to read the default value.
557- </para>
558- </note>
573+ Specifies the number of seconds between sending keepalives on an
574+ otherwise idle connection. A value of 0 uses the system default.
575+ This parameter is supported only on systems that support the
576+ <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.
559579 </para>
580+ <note>
581+ <para>
582+ On Windows, a value of 0 will set this parameter to 1 second,
583+ since Windows does not provide a way to read the system default value.
584+ </para>
585+ </note>
560586 </listitem>
561587 </varlistentry>
562588
@@ -568,16 +594,16 @@ SET ENABLE_SEQSCAN TO OFF;
568594 <listitem>
569595 <para>
570596 Specifies the number of keepalive packets to send on an otherwise idle
571- connection. A value of 0 uses the system default. This parameter is supported
572- only on systems that support the <symbol>TCP_KEEPCNT</>
573- symbol; on other systems, it must be zero. This parameter is
574- ignored for connections made via a Unix-domain socket.
575- <note>
576- <para>
577- This parameter is not supported on Windows, and must be zero.
578- </para>
579- </note>
597+ connection. A value of 0 uses the system default. This parameter is
598+ 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.
580601 </para>
602+ <note>
603+ <para>
604+ This parameter is not supported on Windows, and must be zero.
605+ </para>
606+ </note>
581607 </listitem>
582608 </varlistentry>
583609
0 commit comments