Re: INET operators and NOT

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: INET operators and NOT
Дата
Msg-id 28589.959899596@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: INET operators and NOT  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: INET operators and NOT
Список pgsql-bugs
Bruce Momjian <pgman@candle.pha.pa.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

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] Re: INET operators and NOT
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] Re: INET operators and NOT