Re: keepalives on MacOS X - Mailing list pgsql-hackers

From Fujii Masao
Subject Re: keepalives on MacOS X
Date
Msg-id AANLkTinRTXN9EPfNaN0dhUyculeDog5rAa4qliwWMclb@mail.gmail.com
Whole thread Raw
In response to keepalives on MacOS X  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
On Tue, Jun 29, 2010 at 4:07 AM, Robert Haas <robertmhaas@gmail.com> wrote:
> It looks like the recent keepalives patch won't support MacOS X,
> because MacOS X does not have the TCP_KEEPIDLE, TCP_KEEPINTVL, and
> TCP_KEEPCNT socket parameters.  It does have this:
>
> #define TCP_KEEPALIVE           0x10    /* idle time used when
> SO_KEEPALIVE is enabled */
>
> Should we try to support that as a synonym for TCP_KEEPIDLE, if that's
> what it is?  Or not worry about it?  Or... what?

I'm not sure that can be a synonym for TCP_KEEPIDLE, but if so we should
change not only a client-side but also server-side.

Regards,

--
Fujii Masao
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center


pgsql-hackers by date:

Previous
From: Mike Berrow
Date:
Subject: Re: Issue: Deprecation of the XML2 module 'xml_is_well_formed' function
Next
From: Tom Lane
Date:
Subject: Re: keepalives on MacOS X