Re: Slow join using network address function - Mailing list pgsql-performance

From Eric Jain
Subject Re: Slow join using network address function
Date
Msg-id 001d01c3face$bca62d40$c300000a@caliente
Whole thread Raw
In response to Slow join using network address function  ("Eric Jain" <Eric.Jain@isb-sib.ch>)
Responses Re: Slow join using network address function  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Slow join using network address function  (Steve Atkins <steve@blighty.com>)
List 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
...


pgsql-performance by date:

Previous
From: Tom Lane
Date:
Subject: Re: [PERFORMANCE] slow small delete on large table
Next
From: Tom Lane
Date:
Subject: Re: Slow join using network address function