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 875609DCC7D for ; Thu, 16 Mar 2006 15:41:54 -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 90385-08 for ; Thu, 16 Mar 2006 15:41:54 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from mx2.surnet.cl (mx2.surnet.cl [216.155.73.181]) by postgresql.org (Postfix) with ESMTP id 1D2FA9DC943 for ; Thu, 16 Mar 2006 15:41:51 -0400 (AST) Received: from unknown (HELO cluster.surnet.cl) ([216.155.73.165]) by mx2.surnet.cl with ESMTP; 16 Mar 2006 15:41:52 -0400 X-IronPort-AV: i="4.02,198,1139194800"; d="scan'208"; a="36920855:sNHT18343764" Received: from alvh.no-ip.org (201.220.123.157) by cluster.surnet.cl (7.0.043) (authenticated as alvherre@surnet.cl) id 43A978FD00AA87E7; Thu, 16 Mar 2006 15:41:52 -0400 Received: by alvh.no-ip.org (Postfix, from userid 1000) id 25046C3A2DC; Thu, 16 Mar 2006 15:41:52 -0400 (CLT) Date: Thu, 16 Mar 2006 15:41:52 -0400 From: Alvaro Herrera To: Simon Riggs Cc: Tom Lane , Kevin Grittner , pgsql-performance@postgresql.org, Andreas Kretschmer Subject: Re: BETWEEN optimizer problems with single-value Message-ID: <20060316194151.GC17534@surnet.cl> Mail-Followup-To: Simon Riggs , Tom Lane , Kevin Grittner , pgsql-performance@postgresql.org, Andreas Kretschmer 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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1142537298.3859.497.camel@localhost.localdomain> User-Agent: Mutt/1.5.11+cvs20060126 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=1.704 required=5 tests=[AWL=-0.215, DNS_FROM_RFC_ABUSE=0.479, DNS_FROM_RFC_POST=1.44] X-Spam-Score: 1.704 X-Spam-Level: * X-Archive-Number: 200603/251 X-Sequence-Number: 17688 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. -- Alvaro Herrera http://www.CommandPrompt.com/ The PostgreSQL Company - Command Prompt, Inc.