X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 7E98AD1B4DE for ; Wed, 25 Feb 2004 06:35:27 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 47097-01 for ; Wed, 25 Feb 2004 02:35:26 -0400 (AST) Received: from gp.word-to-the-wise.com (gp.word-to-the-wise.com [64.71.176.18]) by svr1.postgresql.org (Postfix) with ESMTP id 15EE0D1B4AA for ; Wed, 25 Feb 2004 02:35:25 -0400 (AST) Received: by gp.word-to-the-wise.com (Postfix, from userid 500) id 4AAB790000D; Tue, 24 Feb 2004 22:28:37 -0800 (PST) Date: Tue, 24 Feb 2004 22:28:37 -0800 From: Steve Atkins To: pgsql-performance Subject: Re: Slow join using network address function Message-ID: <20040225062837.GA20835@gp.word-to-the-wise.com> References: <000701c3fa02$e4e3d180$c300000a@caliente> <20040223160734.GA11052@gp.word-to-the-wise.com> <001d01c3face$bca62d40$c300000a@caliente> <20040224171442.GE5368@gp.word-to-the-wise.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040224171442.GE5368@gp.word-to-the-wise.com> User-Agent: Mutt/1.4.1i X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200402/294 X-Sequence-Number: 5818 On Tue, Feb 24, 2004 at 09:14:42AM -0800, Steve Atkins wrote: > On Tue, Feb 24, 2004 at 01:07:10PM +0100, Eric Jain wrote: > > > 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? > > There's probably some horrible SQL hack that would let you do it, but > I should add some casting code anyway. Shouldn't be too painful to do - > I'll try and get that, and some minimal documentation out today. Done. This really isn't pgsql-performance content, so this is the last time I'll mention it here. Cheers, Steve