From: Tom Lane <tgl@sss.pgh.pa.us>
To: Eric Jain <Eric.Jain@isb-sib.ch>
Cc: Steve Atkins <steve@blighty.com>
Cc: pgsql-performance <pgsql-performance@postgresql.org>
Subject: Re: Slow join using network address function
Date: Tue, 24 Feb 2004 10:23:22 -0500
Message-ID: <22239.1077636202@sss.pgh.pa.us> (raw)
In-Reply-To: <001d01c3face$bca62d40$c300000a@caliente>
References: <000701c3fa02$e4e3d180$c300000a@caliente>
<20040223160734.GA11052@gp.word-to-the-wise.com>
<001d01c3face$bca62d40$c300000a@caliente>
"Eric Jain" <Eric.Jain@isb-sib.ch> writes:
>> <http://word-to-the-wise.com/ipr.tgz; is a datatype that contains
>> a range of IPv4 addresses, and which has the various operators to
>> make it GIST indexable.
> Great, this looks very promising.
>> No cast operators between ipr and inet types.
> Any way to work around this, short of dumping and reloading tables?
Wouldn't it be better to implement the GIST indexing operators of that
package on the standard datatypes? It wasn't apparent to me what "range
of IP addresses" does for you that isn't covered by "CIDR subnet" for
real-world cases.
regards, tom lane
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 using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: tgl@sss.pgh.pa.us, Eric.Jain@isb-sib.ch, steve@blighty.com
Subject: Re: Slow join using network address function
In-Reply-To: <22239.1077636202@sss.pgh.pa.us>
* 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