Thread: typo on libpq.sgml

typo on libpq.sgml

From
Shigehiro Honda
Date:
Hi,

I noticed a typo in libpq.sgml. In the folowing partagrasoh, 'TCP_KEEPINTVL'
should be 'TCP_KEEPCNT'. (In libpq's setKeepalivesCount(), '#ifdef TCP_KEEPCNT' is used.)

        <varlistentry id="libpq-keepalives-count" xreflabel="keepalives_count">
         <term><literal>keepalives_count</literal></term>
         <listitem>
          <para>
           Controls the number of TCP keepalives that can be lost before the
           client's connection to the server is considered dead.  A value of
           zero uses the system default. This parameter is ignored for
           connections made via a Unix-domain socket, or if keepalives are disabled.
           It is only supported on systems where the <symbol>TCP_KEEPINTVL</>
           socket option is available; on other systems, it has no effect.
          </para>
         </listitem>
        </varlistentry>

regards,
--
  Shigehiro Honda

Re: typo on libpq.sgml

From
Robert Haas
Date:
On Fri, Sep 9, 2011 at 9:34 AM, Shigehiro Honda
<fwif0083@mb.infoweb.ne.jp> wrote:
> Hi,
>
> I noticed a typo in libpq.sgml. In the folowing partagrasoh, 'TCP_KEEPINTVL'
> should be 'TCP_KEEPCNT'. (In libpq's setKeepalivesCount(), '#ifdef TCP_KEEPCNT' is used.)
>
>        <varlistentry id="libpq-keepalives-count" xreflabel="keepalives_count">
>         <term><literal>keepalives_count</literal></term>
>         <listitem>
>          <para>
>           Controls the number of TCP keepalives that can be lost before the
>           client's connection to the server is considered dead.  A value of
>           zero uses the system default. This parameter is ignored for
>           connections made via a Unix-domain socket, or if keepalives are disabled.
>           It is only supported on systems where the <symbol>TCP_KEEPINTVL</>
>           socket option is available; on other systems, it has no effect.
>          </para>
>         </listitem>
>        </varlistentry>

Fixed, thanks for the report.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company