Re: More legacy code: pg_ctl

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: More legacy code: pg_ctl
Дата
Msg-id 52A0902D.6020501@gmx.net
обсуждение исходный текст
Ответ на More legacy code: pg_ctl  (Josh Berkus <josh@agliodbs.com>)
Список pgsql-hackers
On 11/18/13, 8:09 PM, Josh Berkus wrote:
> a) by default, it returns to the caller without waiting for postgres to
> actually start/stop/restart.  In this mode, it also always returns
> success regardless of result.

The reason for this is that until sometime recently (PQping) we didn't
have a reliable way to check whether the server is up.  This might be
different now, but it would need to be verified.

> b) by default, it remains attached to the caller's tty for stdout and
> stderr, even after it has switched to the regular postgres log.

Can pg_ctl tell when the postgres log has switched?



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

Предыдущее
От: Antonin Houska
Дата:
Сообщение: Re: Backup throttling
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: More legacy code: pg_ctl