Re: TCP keepalive support for libpq - Mailing list pgsql-hackers

From Tom Lane
Subject Re: TCP keepalive support for libpq
Date
Msg-id 3920.1277226895@sss.pgh.pa.us
Whole thread Raw
In response to Re: TCP keepalive support for libpq  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: TCP keepalive support for libpq  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> On Tue, Jun 22, 2010 at 12:50 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> Robert Haas <robertmhaas@gmail.com> writes:
>> By that argument, we need to be programming to bare metal on every disk
>> access. �Does anyone want to argue that depending on vendor-specific
>> filesystem functionality is not a house of cards? �(And unfortunately,
>> that's much too close to the truth ... but yet we're not going there.)

> I think you're making my argument for me.  The file system API is far
> more portable than the behavior we're proposing to depend on here, and
> yet it's only arguably good enough to meet our needs.

Uh, it's not API that's at issue here, and as for "not portable" I think
you have failed to make that case.  It is true that there are some old
platforms where keepalive isn't adjustable, but I doubt that anything
anyone is likely to be running mission-critical PG 9.0 on will lack it.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: TCP keepalive support for libpq
Next
From: Mike Fowler
Date:
Subject: Re: Adding XMLEXISTS to the grammar