Re: postgres --help-config

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: postgres --help-config
Дата
Msg-id 15089.1066226546@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: postgres --help-config  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: postgres --help-config  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-hackers
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> One thing that seems very strange about the current API are flags that
> have meaning only when --help-config becomes before it, as with -G and
> -M.  I have never seen that before,

postgres -boot does exactly that, and the new code was modeled on it.
Which doesn't make it good design, maybe, but you can hardly claim
that there's no precedent.

We had also considered choosing a different executable name (the
postmaster-vs-postgres trick).  But on platforms without symlinks,
like Windows, that would mean an extra whole copy of the backend
in the installed system, which seemed a bit much just to avoid some
ugliness in the switch set...
        regards, tom lane


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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: postgres --help-config
Следующее
От: Tom Lane
Дата:
Сообщение: Re: postgres --help-config