Re: [HACKERS] CIDR output format

2000-12-21 Thread Alex Pilosov
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/32127.0.0.1 > '127.0.0.1/32'::cidr 127.0.0.1/32127.0.0.1/32127.0.0.1/32 > '127/8'::cidr 127.0.0.0/8 127.0.0.0/8 1

Re: [HACKERS] CIDR output format

2000-12-21 Thread Larry Rosenman
* Tom Lane <[EMAIL PROTECTED]> [001221 09:49]: > Larry Rosenman <[EMAIL PROTECTED]> writes: > >> 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.

Re: [HACKERS] CIDR output format

2000-12-21 Thread Tom Lane
Larry Rosenman <[EMAIL PROTECTED]> writes: >> 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

Re: [HACKERS] CIDR output format

2000-12-21 Thread Larry Rosenman
* Tom Lane <[EMAIL PROTECTED]> [001220 13:02]: > Paul A Vixie <[EMAIL PROTECTED]> 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-

[HACKERS] CIDR output format

2000-12-20 Thread Tom Lane
Paul A Vixie <[EMAIL PROTECTED]> 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 universal