pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Michael Paquier <michael.paquier@gmail.com>
Cc: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: lizenko79@gmail.com, PostgreSQL mailing lists <pgsql-bugs@postgresql.org>
Subject: Re: BUG #14720: getsockopt(TCP_KEEPALIVE) failed: Option not supported by protocol
Date: Tue, 27 Jun 2017 19:09:58 -0400
Message-ID: <5634.1498604998@sss.pgh.pa.us> (raw)
In-Reply-To: <CAB7nPqTjucafvkZGusT2aJp2gHivgwxoEOBxQoSUPhKrEU41ew@mail.gmail.com>
References: <20170627191732.bqh677xgt5bbdo7t@alvherre.pgsql>
	<20527.1498594613@sss.pgh.pa.us>
	<1982.1498602401@sss.pgh.pa.us>
	<CAB7nPqTjucafvkZGusT2aJp2gHivgwxoEOBxQoSUPhKrEU41ew@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

Michael Paquier <michael.paquier@gmail.com> writes:
> What about defining a PG_TCP_KEEPALIVE instead?

I thought about that, but it would complicate constructing the elog
messages, so I didn't bother.  It might be worth working harder if
we ever grow any more alternatives.

> Side note: Windows has something with a different set of options:
> https://msdn.microsoft.com/en-us/library/windows/desktop/ms740476(v=vs.85).aspx

Yeah, the Windows part of that code is a real mess.  But it works
as far as I've heard.

			regards, tom lane


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (7+ messages)  latest in thread

Message-ID: <5634.1498604998@sss.pgh.pa.us>
Permalink:  ../5634.1498604998@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/5634.1498604998@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, michael.paquier@gmail.com, alvherre@2ndquadrant.com
  Subject: Re: BUG #14720: getsockopt(TCP_KEEPALIVE) failed: Option not supported by protocol
  In-Reply-To: <5634.1498604998@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox