pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tony Liao <tonyliao@yuehetone.com>
To: pgsql-admin@postgresql.org
Subject: index for inet(ip address or ip range)
Date: Thu, 26 Feb 2009 18:33:37 +0800
Message-ID: <8f750b7c0902260233q639be440qafce23613d9d77db@mail.gmail.com> (raw)

hello,everybody
          I want to create index for column ip1 and ip2.I know there is a
contrib name ip4r.but the column ip1(ip2) would be a ip address or ip range.
          The query would do select ....... where ip1>>='96.168.65.84' or
ip2>>='96.168.65.84'.
          does anyone have ideas?

view thread (3+ messages)  latest in thread

Message-ID: <8f750b7c0902260233q639be440qafce23613d9d77db@mail.gmail.com>
Permalink:  ../8f750b7c0902260233q639be440qafce23613d9d77db@mail.gmail.com/
Also on:    postgresql.org/message-id/8f750b7c0902260233q639be440qafce23613d9d77db@mail.gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: tonyliao@yuehetone.com
  Subject: Re: index for inet(ip address or ip range)
  In-Reply-To: <8f750b7c0902260233q639be440qafce23613d9d77db@mail.gmail.com>
  References: <8f750b7c0902260233q639be440qafce23613d9d77db@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox