keepalives on MacOS X

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: keepalives on MacOS X
Date: 2010-06-28 19:07:42
Message-ID: AANLkTim1omBQ4U-Ib5VoOoWbbuU8COh9G2rJdqUkIlVr@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Magnus Hagander 2010-06-28 19:07:43 Re: Keepalives win32
Previous Message Tom Lane 2010-06-28 19:06:34 Re: Propose Beta3 for July