Re: Parsing of pg_hba.conf and authentication inconsistencies

Поиск
Список
Период
Сортировка
От Joshua D. Drake
Тема Re: Parsing of pg_hba.conf and authentication inconsistencies
Дата
Msg-id 489497B1.10105@commandprompt.com
обсуждение исходный текст
Ответ на Re: Parsing of pg_hba.conf and authentication inconsistencies  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Parsing of pg_hba.conf and authentication inconsistencies  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-hackers
Tom Lane wrote:
> Alvaro Herrera <alvherre@commandprompt.com> writes:
>> Tom Lane wrote:
>>> Idle thought: maybe what would really make sense here is a "lint"
>>> for PG config files,
> 
>> I like this idea.
> 
>> postgres --check-hba-file /path/to/hba.conf
>> postgres --check-conf-file /path/to/postgresql.conf
> 
>> (I think it's better to reuse the same postmaster executable, because
>> that way it's easier to have the same parsing routines.)
> 
> I'd go for just
> 
>     postgres --check-config -D $PGDATA
> 
> (In a reload scenario, you'd edit the files in-place and then do this
> before issuing SIGHUP.)
> 
>             regards, tom lane

Doesn't it seem reasonable that it should be pg_ctl? You should never 
run postgres directly unless it is for DR.

Joshua D. Drake



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

Предыдущее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: Parsing of pg_hba.conf and authentication inconsistencies
Следующее
От: Josh Berkus
Дата:
Сообщение: Re: Parsing of pg_hba.conf and authentication inconsistencies