On Mon, 11 Jun 2001, Jim Mercer wrote:
> while you are in there, can you cahnge the print functions so that they
> are consistent?
>
> the output should be 'x.x.x.x' or 'x.x.x.x/x'.
>
> in some cases, i have seen select's which output 'x.x.x/24', which totally
> defeats the purpose of classless ip addrs.
7.1 will do it correctly, please upgrade:
users=# select '10/8'::inet;
?column?
------------
10.0.0.0/8
(1 row)