CIdr query qestion

Поиск
Список
Период
Сортировка
От Michele Petrazzo - Unipex srl
Тема CIdr query qestion
Дата
Msg-id 46933711.4030501@unipex.it
обсуждение исходный текст
Ответы Re: CIdr query qestion  ("Jesper K. Pedersen" <jkp@solnet.homeip.net>)
Re: CIdr query qestion  (Michael Fuhr <mike@fuhr.org>)
Список pgsql-sql
Hi ml!

A question about cidr query. I'm tring to use the various cidr functions
to exclude a A sub class, but I don't understand how use it:

SELECT count(ip_addr), ip_addr from wi_log_network where ip_addr !=
network('10.10.0.0/16', 16) group by (ip_addr);

it don't exclude the 10.10 ! Tried also the abbr or set_masklen keyword,
but the same. How do it?

P.s. Tried the >>, but it only include the values that I want to
exclude! (And I don't found how to do the opposite!)

Thanks,
Michele

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

Предыдущее
От: Patrick Clery
Дата:
Сообщение: Index working, but not inside function
Следующее
От: "Jesper K. Pedersen"
Дата:
Сообщение: Re: CIdr query qestion