Re: CIDR output format - Mailing list pgsql-hackers

From Alex Pilosov
Subject Re: CIDR output format
Date
Msg-id Pine.BSO.4.10.10012211210310.17246-100000@spider.pilosoft.com
Whole thread Raw
In response to Re: CIDR output format  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Thu, 21 Dec 2000, Tom Lane wrote:

> Value            Default output    text()        abbrev()
> 
> '127.0.0.1/32'::inet    127.0.0.1    127.0.0.1/32    127.0.0.1
> '127.0.0.1/32'::cidr    127.0.0.1/32    127.0.0.1/32    127.0.0.1/32
> '127/8'::cidr        127.0.0.0/8    127.0.0.0/8    127/8
> 
> This would be a little bit inconsistent, because the default output
> format would match text() for CIDR values but abbrev() for INET values.
> But that seems like the most useful behavior to me.  Possibly others
> will disagree ;-)
I think it makes sense.



pgsql-hackers by date:

Previous
From: Oleg Bartunov
Date:
Subject: Re: Re: equal operator for _int4 (array of int4)
Next
From: Peter Eisentraut
Date:
Subject: Re: PostgreSQL pre-7.1 Linux/Alpha Status...