Re: We should Axe /contrib/start-scripts

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: We should Axe /contrib/start-scripts
Дата
Msg-id 20090825194807.GK12604@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: We should Axe /contrib/start-scripts  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
Ответы Re: We should Axe /contrib/start-scripts  (Chander Ganesan <chander@otg-nc.com>)
Список pgsql-hackers
Kevin Grittner wrote:

> The reason is that we don't want certain other processes attempting to
> start until and unless the database they use has started successfully.

This is something we're not quite ready on, yet.  We need some mechanism
that allows scripts to verify not only that postmaster started, but also
that it has finished recovery.  You can sort-of do it by attempting a
connection and checking the error message, but it's ugly.  There was
talk about a pg_ping utility years ago, but nobody got around to writing
it ...

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: We should Axe /contrib/start-scripts
Следующее
От: Chander Ganesan
Дата:
Сообщение: Re: We should Axe /contrib/start-scripts