cidr data type question

From: Vasiliy G Tolstov <v(dot)tolstov(at)selfip(dot)ru>
To: pgsql-general(at)postgresql(dot)org
Subject: cidr data type question
Date: 2009-11-02 08:07:16
Message-ID: 1257149236.3426.9.camel@localhost
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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
)

--
Vasiliy G Tolstov <v(dot)tolstov(at)selfip(dot)ru>
Selfip.Ru

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Albe Laurenz 2009-11-02 08:26:09 Re: pg_start_backup question
Previous Message Craig Ringer 2009-11-02 06:49:32 array_reverse()