Re: pg_hba.conf host name wildcard support
Peter Eisentraut <peter_e@gmx.net>
From: Peter Eisentraut <peter_e@gmx.net>
To: pgsql-hackers@postgresql.org
Date: 2010-10-23T12:19:02Z
Lists: pgsql-hackers
Attachments
- hba-host-pattern.patch (text/x-patch) patch
On tor, 2010-10-21 at 06:38 +0300, Peter Eisentraut wrote: > 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. Here is a patch for that.