Re: cidr data type question

Поиск
Список
Период
Сортировка
От Harald Fuchs
Тема Re: cidr data type question
Дата
Msg-id pumy35xg76.fsf@srv.protecting.net
обсуждение исходный текст
Ответ на cidr data type question  (Vasiliy G Tolstov <v.tolstov@selfip.ru>)
Ответы Re: cidr data type question
Список pgsql-general
In article <1257149236.3426.9.camel@localhost>,
Vasiliy G Tolstov <v.tolstov@selfip.ru> writes:

> Hello.
> I have table with cidr data type column (table is white/black list of
> networks).

> Does it possible to query - is the some address contains in any cidr
> network in this table? (for all networks in the table do "contains or
> equals"
> http://www.postgresql.org/docs/8.4/interactive/functions-net.html
> )

If you mess with IP addresses, you should have a look at the ip4r
contrib module.  Since I discovered it, I've never looked back at
cidr/inet.

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

Предыдущее
От: Jasen Betts
Дата:
Сообщение: Re: Absolute value of intervals
Следующее
От: Vasiliy G Tolstov
Дата:
Сообщение: Re: cidr data type question