Re: Fwd: libpq: indefinite block on poll during network problems - Mailing list pgsql-general

From Tom Lane
Subject Re: Fwd: libpq: indefinite block on poll during network problems
Date
Msg-id 6395.1401471993@sss.pgh.pa.us
Whole thread Raw
In response to Re: Fwd: libpq: indefinite block on poll during network problems  (Dmitry Samonenko <shreddingwork@gmail.com>)
Responses Re: Fwd: libpq: indefinite block on poll during network problems  (David G Johnston <david.g.johnston@gmail.com>)
List pgsql-general
Dmitry Samonenko <shreddingwork@gmail.com> writes:
> Yeah, that will work. Looks simple to implement in the client. Question is:
> why don't you think it should be a part of the libpq's API? It's a must
> have feature in high availability environments where only several minutes
> of Out of Service per year are tolerable.

That argument seems nonsensical from here.  If you need HA then you should
be using network service monitoring tools, not relying on some random
libpq client to decide that its connection has been lost.

            regards, tom lane


pgsql-general by date:

Previous
From: Dmitry Samonenko
Date:
Subject: Re: Fwd: libpq: indefinite block on poll during network problems
Next
From: Edoardo Panfili
Date:
Subject: Re: unable to build postgres-9.4 in os x 10.9 with python