Re: Slow join using network address function

From: "Eric Jain" <Eric(dot)Jain(at)isb-sib(dot)ch>
To: "Steve Atkins" <steve(at)blighty(dot)com>
Cc: "pgsql-performance" <pgsql-performance(at)postgresql(dot)org>
Subject: Re: Slow join using network address function
Date: 2004-02-24 12:07:10
Message-ID: 001d01c3face$bca62d40$c300000a@caliente
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

> <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?

SELECT ipr '1.2.3.4'; -- Okay
SELECT ipr text(inet '1.2.3.4'); -- Syntax error, of course
SELECT ipr(text(inet '1.2.3.4')); -- Function does not exist, of course
...

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Ivan Voras 2004-02-24 13:17:18 Slow query
Previous Message Tom Lane 2004-02-24 05:23:58 Re: [PERFORMANCE] slow small delete on large table