Re: Unfriendly handling of pg_hba SSL options with SSL off

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Unfriendly handling of pg_hba SSL options with SSL off
Дата
Msg-id 1303754601.5006.43.camel@vanquo.pezone.net
обсуждение исходный текст
Ответ на Re: Unfriendly handling of pg_hba SSL options with SSL off  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Unfriendly handling of pg_hba SSL options with SSL off  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On mån, 2011-04-25 at 13:11 -0400, Tom Lane wrote:
> Or we could go in the direction of making hostssl lines be a silent
> no-op in both cases, but that doesn't seem like especially
> user-friendly design to me.  We don't treat any other cases in
> pg_hba.conf comparably AFAIR.

We ignore "local" even if the system doesn't have Unix-domain sockets.
We ignore IPvN entries even if listen_addresses doesn't contain any IPvN
addresses (this could be considered equivalent to ssl = on/off).

In my experience, it is best to ignore these things.  You don't lose
anything -- if you don't have SSL configured, no one is going to connect
with SSL -- and at best you're going to annoy admins who want to
configure systems consistently.



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Foreign table permissions and cloning
Следующее
От: Jesper Krogh
Дата:
Сообщение: Re: Unlogged tables, persistent kind