Re: inet/cidr type comparisons

From: Jim Mercer <jim(at)reptiles(dot)org>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Alex Pilosov <alex(at)pilosoft(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: inet/cidr type comparisons
Date: 2001-06-11 20:44:12
Message-ID: 20010611164412.Z10741@reptiles.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Jun 11, 2001 at 02:33:12PM -0400, Tom Lane wrote:
> Jim Mercer <jim(at)reptiles(dot)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(at)reptiles(dot)org +1 416 410-5633 ]
[ Now with more and longer words for your reading enjoyment. ]

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Jan Wieck 2001-06-11 20:44:58 Re: Re: REPLACE INTO table a la mySQL
Previous Message Bruce Momjian 2001-06-11 20:42:14 Re: OID Wrap