pg_hba.conf host name wildcard support

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема pg_hba.conf host name wildcard support
Дата
Msg-id 1287632335.25336.6.camel@vanquo.pezone.net
обсуждение исходный текст
Ответы Re: pg_hba.conf host name wildcard support  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: pg_hba.conf host name wildcard support  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
So, as previously indicated, let's add some wildcard support to the
pg_hba.conf host name feature.  After looking around a bit, two syntaxes
appear to be on offer:

1. TCP Wrappers style, leading dot indicates suffix match.
So .example.com matches anything.example.com.  Not sure how useful that
would be, but it could be implemented in about 3 lines of code.

2. Full regular expressions.  I'd suggest the pg_ident.conf style, where
a leading slash indicates a regex.  An example could be /^dbserver\d\.
With some code refactoring, this would also only take a few extra lines
of code.

Comments, other ideas?




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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: lazy snapshots?
Следующее
От: Greg Stark
Дата:
Сообщение: Re: default_statistics_target WAS: max_wal_senders must die