Re: [PATCH] pg_isready (was: [WIP] pg_ping utility)

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: [PATCH] pg_isready (was: [WIP] pg_ping utility)
Дата
Msg-id CA+TgmoZKN8Kfu+KfGr6PYLFzwUhMFLP+szUBWqQ00EfnmjLp8g@mail.gmail.com
обсуждение исходный текст
Ответ на [PATCH] pg_isready (was: [WIP] pg_ping utility)  (Phil Sorber <phil@omniti.com>)
Ответы Re: [PATCH] pg_isready (was: [WIP] pg_ping utility)  (Phil Sorber <phil@omniti.com>)
Список pgsql-hackers
On Mon, Jan 21, 2013 at 12:23 PM, Phil Sorber <phil@omniti.com> wrote:
> Changing up the subject line because this is no longer a work in
> progress nor is it pg_ping anymore.

OK, I committed this.  However, I have one suggestion.  Maybe it would
be a good idea to add a -c or -t option that sets the connect_timeout
parameter.   Because:

[rhaas pgsql]$ pg_isready -h www.google.com
<grows old, dies>

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: [PATCH] PQping Docs
Следующее
От: Pavel Stehule
Дата:
Сообщение: Re: Prepared statements fail after schema changes with surprising error