Re: pg_hba.conf hostname todo

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pg_hba.conf hostname todo
Дата
Msg-id 25418.1167261458@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: pg_hba.conf hostname todo  (Stephen Frost <sfrost@snowman.net>)
Список pgsql-hackers
Stephen Frost <sfrost@snowman.net> writes:
> While a wildcard does make sense (ie: www*.postgresql.org), I would
> generally expect 'commandprompt.com' to mean '*.commandprompt.com'
> implicitly.

No, that would be a really bad idea.  It's not unlikely that
commandprompt.com refers to a specific host.  If you implicitly allow it
to match *.commandprompt.com then there's no way to specify "connections
from just this host, not the whole domain underneath it".

I'm not sure that DNS wildcards are appropriate at all, but if they are
we should definitely require them to be written as explicit wildcards,
not have that happen silently behind the DBA's back.
        regards, tom lane


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

Предыдущее
От: "Simon Riggs"
Дата:
Сообщение: Re: TupleDescs and refcounts and such, again
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [PATCHES] [BUGS] BUG #2846: inconsistent and confusing handling of underflows,