keepalives on MacOS X - Mailing list pgsql-hackers

From Robert Haas
Subject keepalives on MacOS X
Date
Msg-id AANLkTim1omBQ4U-Ib5VoOoWbbuU8COh9G2rJdqUkIlVr@mail.gmail.com
Whole thread Raw
Responses Re: keepalives on MacOS X  (Fujii Masao <masao.fujii@gmail.com>)
Re: keepalives on MacOS X  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
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?

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


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Propose Beta3 for July
Next
From: Magnus Hagander
Date:
Subject: Re: Keepalives win32