Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-hackers by date

Next:From: Magnus HaganderDate: 2010-06-28 19:07:43
Subject: Re: Keepalives win32
Previous:From: Tom LaneDate: 2010-06-28 19:06:34
Subject: Re: Propose Beta3 for July

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group