Re: Keepalives win32
От
Bruce Momjian
Тема
Re: Keepalives win32
Дата
Msg-id
201006301517.o5UFHdU03765@momjian.us
Ответ на
Re: Keepalives win32 (Tom Lane)
Список
Дерево обсуждения
Keepalives win32 Magnus Hagander <magnus@hagander.net>
Re: Keepalives win32 Tom Lane <tgl@sss.pgh.pa.us>
Re: Keepalives win32 Magnus Hagander <magnus@hagander.net>
Re: Keepalives win32 Tom Lane <tgl@sss.pgh.pa.us>
Re: Keepalives win32 Magnus Hagander <magnus@hagander.net>
Re: Keepalives win32 Magnus Hagander <magnus@hagander.net>
Re: Keepalives win32 Tom Lane <tgl@sss.pgh.pa.us>
Re: Keepalives win32 Magnus Hagander <magnus@hagander.net>
Re: Keepalives win32 Tom Lane <tgl@sss.pgh.pa.us>
Re: Keepalives win32 Robert Haas <robertmhaas@gmail.com>
Re: Keepalives win32 Tom Lane <tgl@sss.pgh.pa.us>
Re: Keepalives win32 Bruce Momjian <bruce@momjian.us>
Re: Keepalives win32 Pavel Golub <pavel@microolap.com>
Re: Keepalives win32 Magnus Hagander <magnus@hagander.net>
Re: Keepalives win32 Pavel Golub <pavel@microolap.com>
Re: Keepalives win32 Tom Lane <tgl@sss.pgh.pa.us>
Re: Keepalives win32 Magnus Hagander <magnus@hagander.net>
Re: Keepalives win32 Tom Lane <tgl@sss.pgh.pa.us>
Re: Keepalives win32 Bruce Momjian <bruce@momjian.us>
Re: Keepalives win32 Tom Lane <tgl@sss.pgh.pa.us>
Re: Keepalives win32 Bruce Momjian <bruce@momjian.us>
Re: Keepalives win32 Tom Lane <tgl@sss.pgh.pa.us>
Re: Keepalives win32 Pavel Golub <pavel@microolap.com>
Re: Keepalives win32 Bruce Momjian <bruce@momjian.us>
Re: Keepalives win32 Magnus Hagander <magnus@hagander.net>
Re: Keepalives win32 Tom Lane <tgl@sss.pgh.pa.us>
Re: Keepalives win32 "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: Keepalives win32 Tom Lane <tgl@sss.pgh.pa.us>
Re: Keepalives win32 Magnus Hagander <magnus@hagander.net>
Re: Keepalives win32 "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: Keepalives win32 Robert Haas <robertmhaas@gmail.com>
Re: Keepalives win32 Andrew Dunstan <andrew@dunslane.net>
Re: Keepalives win32 Magnus Hagander <magnus@hagander.net>
Re: Keepalives win32 Andrew Chernow <ac@esilo.com>
Re: Keepalives win32 Magnus Hagander <magnus@hagander.net>
Re: Keepalives win32 Andrew Chernow <ac@esilo.com>
Tom Lane wrote: > Bruce Momjian writes: > > I still like #1 because it affects the fewest people, and that option > > uses the RFC defaults only for unset values when others are set. > > What's your idea of "affecting the fewest people"? There is no previous > history to be backward-compatible with, because we never supported > keepalive on Windows before. Well, starting in 9.0, keepalives in libpq will default to 'on': Controls whether client-side TCP keepalives are used. The defaultvalue is 1, meaning on, but you can change this to 0, meaning off,if keepalives are not wanted. This parameter is ignored forconnections made via a Unix-domain socket. My definition is whether we should affect keepalive behavior for the 99% of people who do not change the libpq defaults, meaning the other keepalive settings. #2 would cause these people to use non-registry-controlled keepalive behavior by using RFC defaults, and even if we use Windows defaults, those defaults might be different for different Windows versions. -- Bruce Momjian http://momjian.us EnterpriseDB http://enterprisedb.com + None of us is going to be here forever. +
В списке pgsql-hackers по дате отправления