Re: CIDR in pg_hba.conf - Mailing list pgsql-hackers

From D'Arcy J.M. Cain
Subject Re: CIDR in pg_hba.conf
Date
Msg-id 200305071316.21976.darcy@druid.net
Whole thread Raw
In response to CIDR in pg_hba.conf  ("Andrew Dunstan" <andrew@dunslane.net>)
Responses Re: CIDR in pg_hba.conf  ("scott.marlowe" <scott.marlowe@ihs.com>)
List pgsql-hackers
On Wednesday 07 May 2003 09:50, Andrew Dunstan wrote:
> So in hba.c, if we found a / in the IP address, we wouldn't go looking for
> a separate netmask field.

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.

-- 
D'Arcy J.M. Cain <darcy@{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.



pgsql-hackers by date:

Previous
From: Barry Lind
Date:
Subject: Protocol V3 question
Next
From: Tom Lane
Date:
Subject: Re: Protocol V3 question