Re: pg_ctl idempotent option

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pg_ctl idempotent option
Дата
Msg-id 21264.1358176968@sss.pgh.pa.us
обсуждение исходный текст
Ответ на pg_ctl idempotent option  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: pg_ctl idempotent option  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Re: pg_ctl idempotent option  (Boszormenyi Zoltan <zb@cybertec.at>)
Re: pg_ctl idempotent option  (Vik Reykja <vikreykja@gmail.com>)
Re: pg_ctl idempotent option  (Peter Eisentraut <peter_e@gmx.net>)
Re: pg_ctl idempotent option  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
Peter Eisentraut <peter_e@gmx.net> writes:
> 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.

Idempotent is a ten-dollar word.  Can we find something that average
people wouldn't need to consult a dictionary to understand?

Also, should the option affect *only* the result code as you have it,
or should it also change the printed messages to reflect that the
case is considered expected?

Also it appears to me that the hunk at lines 812ff is changing the
default behavior, which is not what the patch is advertised to do.
        regards, tom lane



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

Предыдущее
От: Merlin Moncure
Дата:
Сообщение: Re: common fe/be library (was Re: [PATCH] binary heap implementation)
Следующее
От: Tom Lane
Дата:
Сообщение: Re: find libxml2 using pkg-config