From: | Vasiliy G Tolstov <v(dot)tolstov(at)selfip(dot)ru> |
---|---|
To: | Harald Fuchs <hari(dot)fuchs(at)gmail(dot)com> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: cidr data type question |
Date: | 2009-11-02 12:34:46 |
Message-ID: | 1257165286.3426.120.camel@localhost |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
В Пнд, 02/11/2009 в 13:29 +0100, Harald Fuchs пишет:
> In article <1257149236(dot)3426(dot)9(dot)camel(at)localhost>,
> Vasiliy G Tolstov <v(dot)tolstov(at)selfip(dot)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.
>
>
Thank's but cidr solved fine my task
--
Vasiliy G Tolstov <v(dot)tolstov(at)selfip(dot)ru>
Selfip.Ru
From | Date | Subject | |
---|---|---|---|
Next Message | Sam Mason | 2009-11-02 12:47:46 | Re: Absolute value of intervals |
Previous Message | Harald Fuchs | 2009-11-02 12:29:49 | Re: cidr data type question |