Re: INET/CIDR types - Mailing list pgsql-hackers

From darcy@druid.net (D'Arcy J.M. Cain)
Subject Re: INET/CIDR types
Date
Msg-id m13Hkik-000AX9C@druid.net
Whole thread Raw
In response to Re: INET/CIDR types  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
Thus spake Peter Eisentraut
> > Hmmm.  I just noticed this.
> > 
> > darcy=> select '1.2.0.1/23'::cidr;
> > ?column?
> > --------
> > 1.2.0/23
> > (1 row)
> > 
> > Shouldn't that throw an error?
> 
> Isn't that what I've been saying all along?

Well, yes but I thought that it was now and that you were arguing to keep
that behaviour.  This seems to be the behaviour that I was suggesting
although you have half convinced me that this should throw an error.

So, it looks like the status quo is for inet::cidr to be a different
spelling for network(inet).  Is this the way we want to keep it?

-- 
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: Patrick Welche
Date:
Subject: Re: Installation Report for powerpc-apple-netbsdelf1.5
Next
From: "Hiroshi Inoue"
Date:
Subject: RE: AW: Vacuum only with 20% old tuples