X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id A4FD2D1B954 for ; Wed, 27 Aug 2003 01:22:41 -0300 (ADT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 67528-06 for ; Wed, 27 Aug 2003 01:22:31 -0300 (ADT) Received: from candle.pha.pa.us (momjian.navpoint.com [207.106.42.251]) by svr1.postgresql.org (Postfix) with ESMTP id E9F1DD1B8E8 for ; Wed, 27 Aug 2003 01:22:25 -0300 (ADT) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.11.6) id h7R4M8l00697; Wed, 27 Aug 2003 00:22:08 -0400 (EDT) From: Bruce Momjian Message-Id: <200308270422.h7R4M8l00697@candle.pha.pa.us> Subject: Re: postgres 7.1.3: why does the query plan ignore indexes? In-Reply-To: <7750.1061903380@sss.pgh.pa.us> To: Tom Lane Date: Wed, 27 Aug 2003 00:22:08 -0400 (EDT) Cc: Marco Vezzoli , sql X-Mailer: ELM [version 2.4ME+ PL99 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200308/317 X-Sequence-Number: 14933 Tom Lane wrote: > Bruce Momjian writes: > > Should we consider adding some warning when someone creates an index on > > an int2 column? > > I don't think so. Better to expend our energy on solving the > fundamental problem. I am thinking _until_ we fix the problem. Is it actually hard to add? -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073