Re: "pg_ctl promote" exit status

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: "pg_ctl promote" exit status
Дата
Msg-id 51068F48.3020809@gmx.net
обсуждение исходный текст
Ответ на Re: "pg_ctl promote" exit status  ("Aaron W. Swenson" <titanofold@gentoo.org>)
Ответы Re: "pg_ctl promote" exit status  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-hackers
On 1/26/13 4:44 PM, Aaron W. Swenson wrote:
> You are right. Had I read a little further down, it seems that the
> exit status should actually be 7.

7 is OK for "not running", but what should we use when the server is not
in standby mode?  Using the idempotent argument that we are discussing
for the stop action, promoting a server that is not a standby should be
a noop and exit successfully.  Not sure if that is what we want, though.




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

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Re: Number of buckets in a hash join
Следующее
От: Tom Lane
Дата:
Сообщение: Re: "pg_ctl promote" exit status