pg_hba.conf host name wildcard support

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-hackers(at)postgresql(dot)org
Subject: pg_hba.conf host name wildcard support
Date: 2010-10-21 03:38:55
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: 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 matches 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?


Browse pgsql-hackers by date

  From Date Subject
Next Message Greg Stark 2010-10-21 04:03:31 Re: default_statistics_target WAS: max_wal_senders must die
Previous Message Tom Lane 2010-10-21 03:24:05 Re: lazy snapshots?