Re: Reliably determining whether the server came up

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Reliably determining whether the server came up
Дата
Msg-id 20048.1227023982@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Reliably determining whether the server came up  (Mischa Sandberg <mischa_sandberg@telus.net>)
Ответы Re: Reliably determining whether the server came up  (Mischa Sandberg <mischa_sandberg@telus.net>)
Список pgsql-admin
Mischa Sandberg <mischa_sandberg@telus.net> writes:
> Perhaps it's my "test for DB ready" that's the problem?

> + while pg_ctl status && ! psql -l; do sleep 1; done >/dev/null 2>&1

I'd bet that the pg_ctl status part is failing.  I get exit status 1
from it if there's no server running.

            regards, tom lane

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

Предыдущее
От: Arctic Toucan
Дата:
Сообщение: Is it safe to reset relfrozenxid without using vacuum?
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: Is it safe to reset relfrozenxid without using vacuum?