* Tom Lane <tgl@sss.pgh.pa.us> [001220 13:02]:
> Paul A Vixie <vixie@mfnx.net> writes:
> > cisco IOS just won't take 10/8 and insists on 10.0.0.0/8. you will never,
> > ever go wrong if you try to use 10.0.0.0/8, since everything that understands
> > CIDR understands that. 10/8 is a pleasant-appearing alternative format, but
> > it is not universally accepted and i recommend against it. (i'm not sure if
> > my original CIDR type implementation for pgsql output the shorthand or not;
> > if it did, then i apologize to one and all.)
>
> Well, that's an earful. Faced with this authoritative opinion, I
> withdraw my previous objections to changing the output format for CIDR.
>
> It would seem that the appropriate behavior would be to make the default
> display format for CIDR be like "10.0.0.0/8". Now the text() conversion
> function already produces this same format. I'd be inclined to leave
> text() as-is and add a new conversion function with some other name
> (suggestions anyone?) that produces the shorthand form "10/8" as text,
> for those who prefer it.
I would call it cidrshort().
I assume this also is true for INET?
Thanks!
LER
>
> Comments?
>
> regards, tom lane
--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: ler@lerctr.org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749