X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 2F6189DCC19 for ; Thu, 16 Mar 2006 15:43:35 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 90830-05 for ; Thu, 16 Mar 2006 15:43:34 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from smtp.nildram.co.uk (smtp.nildram.co.uk [195.112.4.54]) by postgresql.org (Postfix) with ESMTP id 5B7C19DCC07 for ; Thu, 16 Mar 2006 15:43:32 -0400 (AST) Received: from [192.168.0.5] (unknown [84.12.26.47]) by smtp.nildram.co.uk (Postfix) with ESMTP id 40D523348C0; Thu, 16 Mar 2006 19:43:27 +0000 (GMT) Subject: Re: BETWEEN optimizer problems with single-value From: Simon Riggs To: Alvaro Herrera Cc: Tom Lane , Kevin Grittner , pgsql-performance@postgresql.org, Andreas Kretschmer In-Reply-To: <20060316194151.GC17534@surnet.cl> References: <44180105.EE98.0025.0@wicourts.gov> <20060315181735.GA22240@KanotixBox> <44180D33.EE98.0025.0@wicourts.gov> <28798.1142450270@sss.pgh.pa.us> <1142467626.3859.207.camel@localhost.localdomain> <1142468678.3859.221.camel@localhost.localdomain> <11428.1142474724@sss.pgh.pa.us> <1142510032.3859.320.camel@localhost.localdomain> <17043.1142524621@sss.pgh.pa.us> <1142537298.3859.497.camel@localhost.localdomain> <20060316194151.GC17534@surnet.cl> Content-Type: text/plain Date: Thu, 16 Mar 2006 19:43:22 +0000 Message-Id: <1142538202.3859.513.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.2.3 (2.2.3-2.fc4) Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.096 required=5 tests=[AWL=0.096] X-Spam-Score: 0.096 X-Spam-Level: X-Archive-Number: 200603/252 X-Sequence-Number: 17689 On Thu, 2006-03-16 at 15:41 -0400, Alvaro Herrera wrote: > Simon Riggs wrote: > > > [BTW how do you add new indexes to system tables? I want to add one to > > pg_inherits but not sure where to look.] > > See src/include/catalog/indexing.h -- I don't remember if there's > anything else that needs modification. That was easy: many thanks! Best Regards, Simon Riggs