Skip site navigation (1) Skip section navigation (2)

Re: INET operators and NOT

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Tomas Cerha <t(dot)cerha(at)sh(dot)cvut(dot)cz>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: INET operators and NOT
Date: 2000-06-01 22:46:36
Message-ID: 28589.959899596@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-bugspgsql-hackers
Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> I still see this problem in 7.0.

You do?  I don't:

regression=# SELECT * FROM a;
    ip
----------
 10.1.1.1
 10.1.1.2
 10.2.1.2
 10.2.1.1
(4 rows)

regression=# SELECT * FROM a WHERE ip<<'10.1/16';
    ip
----------
 10.1.1.1
 10.1.1.2
(2 rows)

regression=# SELECT * FROM a WHERE NOT ip<<'10.1/16';
    ip
----------
 10.2.1.2
 10.2.1.1
(2 rows)

regression=#

			regards, tom lane

In response to

Responses

pgsql-hackers by date

Next:From: Tom LaneDate: 2000-06-01 23:22:21
Subject: Re: Problems with recent CVS versions and Solaris.
Previous:From: Tom LaneDate: 2000-06-01 22:42:28
Subject: Re: [HACKERS] Re: INET operators and NOT

pgsql-bugs by date

Next:From: Bruce MomjianDate: 2000-06-01 23:36:01
Subject: Re: INET operators and NOT
Previous:From: Tom LaneDate: 2000-06-01 22:42:28
Subject: Re: [HACKERS] Re: INET operators and NOT

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group