[HACKERS] Keep alive in libpq

2009-05-27 Thread Pavel Golub
Hello, postgresmen. I found solution how to implement keep alive through sockets in archive: http://archives.postgresql.org/pgsql-interfaces/2006-11/msg00014.php However, it is dated 2006 year and I am wonder if this is for real? At least in Windows environment? If not are there any solutions?

Re: [HACKERS] Keep alive in libpq

2009-05-27 Thread Andrew Chernow
Pavel Golub wrote: Hello, postgresmen. I found solution how to implement keep alive through sockets in archive: http://archives.postgresql.org/pgsql-interfaces/2006-11/msg00014.php However, it is dated 2006 year and I am wonder if this is for real? setsockopt has been around since at least