Re: pg_ctl idempotent option

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: pg_ctl idempotent option
Дата
Msg-id 1362544637.11571.21.camel@vanquo.pezone.net
обсуждение исходный текст
Ответ на pg_ctl idempotent option  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
On Mon, 2013-01-14 at 06:37 -0500, Peter Eisentraut wrote:
> Here is a patch to add an option -I/--idempotent to pg_ctl, the result
> of which is that pg_ctl doesn't error on start or stop if the server is
> already running or already stopped.

So apparently, pg_upgrade needs the existing behavior, so making the
idempotent option the only behavior won't work.  Therefore, I think this
patch is still useful as originally presented.  I've made one change
that pg_ctl won't print any messages if the -I option is used and the
server is already started/stopped.

Вложения

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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: Request for vote to move forward with recovery.conf overhaul
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: sql_drop Event Trigger