Re: inet/cidr type comparisons - Mailing list pgsql-hackers

From Jim Mercer
Subject Re: inet/cidr type comparisons
Date
Msg-id 20010611164412.Z10741@reptiles.org
Whole thread Raw
In response to Re: inet/cidr type comparisons  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Mon, Jun 11, 2001 at 02:33:12PM -0400, Tom Lane wrote:
> Jim Mercer <jim@reptiles.org> writes:
> > while you are in there, can you cahnge the print functions so that they
> > are consistent?
> 
> I believe they are consistent in 7.1; leastwise, you will have to make
> a pretty good argument why we should change them again.  We had a very
> long discussion that led up to the current solution.

ah, it appears that this was done, thanx very much.

PostgreSQL 7.0.3 on i386-unknown-freebsdelf4.2, compiled by gcc 2.95.2
reptiles=> select '216.95.252/24'::cidr, '216.95.252/24'::inet;
---------------+-----------------216.95.252/24 | 216.95.252.0/24

PostgreSQL 7.1.2 on i386-unknown-freebsd4.3, compiled by GCC 2.95.3
amphibians=# select '216.95.252/24'::cidr, '216.95.252/24'::inet;
-----------------+-----------------216.95.252.0/24 | 216.95.252.0/24

-- 
[ Jim Mercer        jim@reptiles.org         +1 416 410-5633 ]
[ Now with more and longer words for your reading enjoyment. ]


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: OID Wrap
Next
From: Alex Pilosov
Date:
Subject: Re: inet/cidr type comparisons