Re: [HACKERS] pg_hba.conf host name wildcard support

2010-10-23 Thread Peter Eisentraut
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 .

Re: [HACKERS] pg_hba.conf host name wildcard support

2010-10-21 Thread Dimitri Fontaine
Tom Lane writes: > Peter Eisentraut writes: >> 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. > > I'd lean to #1 myself. FWIW, +1 -- Dimitri

Re: [HACKERS] pg_hba.conf host name wildcard support

2010-10-20 Thread Tom Lane
Peter Eisentraut writes: > 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.exampl

[HACKERS] pg_hba.conf host name wildcard support

2010-10-20 Thread Peter Eisentraut
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 wou