Re: Fwd: libpq: indefinite block on poll during network problems

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Fwd: libpq: indefinite block on poll during network problems
Дата
Msg-id 6395.1401471993@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Fwd: libpq: indefinite block on poll during network problems  (Dmitry Samonenko <shreddingwork@gmail.com>)
Ответы Re: Fwd: libpq: indefinite block on poll during network problems
Список 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 по дате отправления:

Предыдущее
От: Dmitry Samonenko
Дата:
Сообщение: Re: Fwd: libpq: indefinite block on poll during network problems
Следующее
От: Edoardo Panfili
Дата:
Сообщение: Re: unable to build postgres-9.4 in os x 10.9 with python