Search Postgresql Archives

Re: cidr data type question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



В Пнд, 02/11/2009 в 13:29 +0100, Harald Fuchs пишет:
> In article <1257149236.3426.9.camel@localhost>,
> Vasiliy G Tolstov <v.tolstov@xxxxxxxxx> 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.
> 
> 

Thank's but cidr solved fine my task 

-- 
Vasiliy G Tolstov <v.tolstov@xxxxxxxxx>
Selfip.Ru


-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux