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: (view raw, whole thread or download thread mbox)
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
The Enterprise Postgres Company


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-2017 The PostgreSQL Global Development Group