Re: [HACKERS] [COMMITTERS] pgsql: Add support for TCP keepalives on Windows, both for backend and

2010-07-08 Thread Tom Lane
Magnus Hagander mag...@hagander.net writes: Seems pretty simple - mingw doesn't have support for this. We have two ways to deal with that I think: 1) Disable it on mingw. 2) Include it in our custom headers. For #2, what we need to include is the define of SIO_KEEPALIVE_VALS as well as the

Re: [HACKERS] [COMMITTERS] pgsql: Add support for TCP keepalives on Windows, both for backend and

2010-07-08 Thread Andrew Dunstan
Tom Lane wrote: Magnus Hagander mag...@hagander.net writes: Seems pretty simple - mingw doesn't have support for this. We have two ways to deal with that I think: 1) Disable it on mingw. 2) Include it in our custom headers. For #2, what we need to include is the define of

Re: [HACKERS] [COMMITTERS] pgsql: Add support for TCP keepalives on Windows, both for backend and

2010-07-08 Thread Magnus Hagander
On Thu, Jul 8, 2010 at 17:45, Andrew Dunstan and...@dunslane.net wrote: Tom Lane wrote: Magnus Hagander mag...@hagander.net writes: Seems pretty simple - mingw doesn't have support for this. We have two ways to deal with that I think: 1) Disable it on mingw. 2) Include it in our custom

Re: [HACKERS] [COMMITTERS] pgsql: Add support for TCP keepalives on Windows, both for backend and

2010-07-08 Thread Magnus Hagander
On Thu, Jul 8, 2010 at 18:06, Magnus Hagander mag...@hagander.net wrote: On Thu, Jul 8, 2010 at 17:45, Andrew Dunstan and...@dunslane.net wrote: Tom Lane wrote: Magnus Hagander mag...@hagander.net writes: Seems pretty simple - mingw doesn't have support for this. We have two ways to deal