X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id EC652528E7 for ; Thu, 9 Jun 2005 04:30:41 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 88352-08 for ; Thu, 9 Jun 2005 07:30:39 +0000 (GMT) Received: from mail.metronet.co.uk (mail.metronet.co.uk [213.162.97.75]) by svr1.postgresql.org (Postfix) with ESMTP id 78590528BE for ; Thu, 9 Jun 2005 04:30:38 -0300 (ADT) Received: from mainbox.archonet.com (84-51-143-99.archon037.adsl.metronet.co.uk [84.51.143.99]) by smtp.metronet.co.uk (MetroNet Mail) with ESMTP id C1A8D40D6E9; Thu, 9 Jun 2005 08:30:33 +0100 (BST) Received: from localhost (localhost.localdomain [127.0.0.1]) by mainbox.archonet.com (Postfix) with ESMTP id F418A15ED7; Thu, 9 Jun 2005 08:27:58 +0100 (BST) Received: from mainbox.archonet.com ([127.0.0.1]) by localhost (mainbox [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 05081-07; Thu, 9 Jun 2005 08:27:56 +0100 (BST) Received: from [192.168.1.17] (client17.office.archonet.com [192.168.1.17]) by mainbox.archonet.com (Postfix) with ESMTP id 68EA415ED5; Thu, 9 Jun 2005 08:27:56 +0100 (BST) Message-ID: <42A7EF7C.2000808@archonet.com> Date: Thu, 09 Jun 2005 08:27:56 +0100 From: Richard Huxton User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Tom Lane Cc: Dmitri Bichko , Sql-Postgre Subject: Re: Indices and user defined operators References: <6338.1118289716@sss.pgh.pa.us> <7273.1118294824@sss.pgh.pa.us> In-Reply-To: <7273.1118294824@sss.pgh.pa.us> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.054 tagged_above=0 required=5 tests=AWL, FORGED_RCVD_HELO X-Spam-Level: X-Archive-Number: 200506/132 X-Sequence-Number: 21733 Tom Lane wrote: > I wrote: > >>"Dmitri Bichko" writes: >> >>>So, is there any way to make these operators use an index defined as >>>above? > > >>If you've set things up so that the operators are defined by inline-able >>SQL functions, I'd sort of expect it to fall out for free ... Now *that* is very nice. Thanks for the example Tom - nice to know the sql list is still teaching me things within the first 5 messages I read. -- Richard Huxton Archonet Ltd