Re: pg_hba.conf host name wildcard support

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: pg_hba.conf host name wildcard support
Date: 2010-10-23 12:19:02
Message-ID: 1287836342.2967.1.camel@vanquo.pezone.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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.

Attachment Content-Type Size
hba-host-pattern.patch text/x-patch 3.9 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Marko Tiikkaja 2010-10-23 12:50:01 Re: ask for review of MERGE
Previous Message Leonardo Francalanci 2010-10-23 09:38:33 Re: Custom aggragation function that creates an array