Re: Keepalives win32 - Mailing list pgsql-hackers

From Magnus Hagander
Subject Re: Keepalives win32
Date
Msg-id AANLkTinkNTsTfT4dtgNxI1m509xOK7SMSaTee7GJEedX@mail.gmail.com
Whole thread Raw
In response to Re: Keepalives win32  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Keepalives win32
List pgsql-hackers
On Mon, Jun 28, 2010 at 22:39, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Magnus Hagander <magnus@hagander.net> writes:
>> Here's what I'm thinking, for the libpq side. Similar change on the
>> server side. Seems ok?
>
> I had in mind just legislating that the defaults are the RFC values,
> none of this "try to use the registry values in one case" business.

Um, if you look at that patch, it doesn't try to use the registry. It
falls back directly to the system default, ignoring the registry. The
only special case is where the user doesn't specify any of the
parameters.


> I don't believe that you can make the server side act that way without
> much more ugliness than is warranted.  Also, at least on the libpq side
> there is no backwards compatibility argument to be made, because we
> never turned on keepalives at all on that side in previous releases.



-- Magnus HaganderMe: http://www.hagander.net/Work: http://www.redpill-linpro.com/


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Keepalives win32
Next
From: "Kevin Grittner"
Date:
Subject: Re: Admission Control