Re: pg_ctl reload -o "...."

Поиск
Список
Период
Сортировка
От Jeff Janes
Тема Re: pg_ctl reload -o "...."
Дата
Msg-id CAMkU=1yGU+7JRK2x1E1p6NcsErTLveU2pBBnLmf_WTeCd9A1zg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: pg_ctl reload -o "...."  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: pg_ctl reload -o "...."  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-hackers
On Thu, Nov 15, 2012 at 11:26 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Jeff Janes <jeff.janes@gmail.com> writes:
>> Is there a reason pg_ctl reload shouldn't honor -o ?
>
> -o means "pass these switches on the postmaster's command line".
> If you're not restarting the postmaster, you don't get to change
> its command line.

OK.  You see pg_ctl as a wrapper around postmaster, while I was
viewing it as a thing in itself.

> IMO setting stuff on the command line is pretty evil anyway.

I wouldn't do it in a production system, but it is invaluable for
performance testing during development or diagnosis.

Oh well, I guess this is what perl -i -pe is for.

Cheers,

Jeff



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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: Timing events WIP v1
Следующее
От: "Karl O. Pinc"
Дата:
Сообщение: User control over psql error stream