Re: Keepalives win32

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Re: Keepalives win32
Дата
Msg-id AANLkTinkNTsTfT4dtgNxI1m509xOK7SMSaTee7GJEedX@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Keepalives win32  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Keepalives win32  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Keepalives win32
Следующее
От: "Kevin Grittner"
Дата:
Сообщение: Re: Admission Control