Re: CIDR in pg_hba.conf

From: "D'Arcy J(dot)M(dot) Cain" <darcy(at)druid(dot)net>
To: "scott(dot)marlowe" <scott(dot)marlowe(at)ihs(dot)com>
Cc: PostgreSQL Hackers Mailing List <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: CIDR in pg_hba.conf
Date: 2003-05-07 19:59:42
Message-ID: 200305071559.42635.darcy@druid.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wednesday 07 May 2003 13:44, scott.marlowe wrote:
> On Wed, 7 May 2003, D'Arcy J.M. Cain wrote:
> > Is anyone else uncomfortable with variable number of fields? I know
> > there is prior art but it still spooks me a little. How about a space
> > after the address and before the slash? That way the netmask is in the
> > same field as always (as are the following fields) and it's just an
> > alternative syntax.
>
> If that's the case, then just drop the / from the address and make the
> mask field varialble, so if it has .s in it it's a netmask, otherwise it's
> a number like a CIDR's second half.

That works for me too.

--
D'Arcy J.M. Cain <darcy(at){druid|vex}.net> | Democracy is three wolves
http://www.druid.net/darcy/ | and a sheep voting on
+1 416 425 1212 (DoD#0082) (eNTP) | what's for dinner.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruno Wolff III 2003-05-07 20:07:15 Re: CIDR in pg_hba.conf
Previous Message D'Arcy J.M. Cain 2003-05-07 19:57:41 Re: CIDR in pg_hba.conf