X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id B1E4AD1B57A for ; Thu, 30 Oct 2003 21:01:07 +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 33703-07 for ; Thu, 30 Oct 2003 17:00:38 -0400 (AST) Received: from mail.libertyrms.com (unknown [209.167.124.227]) by svr1.postgresql.org (Postfix) with ESMTP id 2186BD1B906 for ; Thu, 30 Oct 2003 17:00:36 -0400 (AST) Received: from [10.1.2.130] (helo=dba2) by mail.libertyrms.com with esmtp (Exim 3.22 #3 (Debian)) id 1AFJuH-0002Q3-00 for ; Thu, 30 Oct 2003 16:00:37 -0500 Received: by dba2 (Postfix, from userid 1019) id 6339CCD8B; Thu, 30 Oct 2003 16:00:37 -0500 (EST) Date: Thu, 30 Oct 2003 16:00:37 -0500 From: Andrew Sullivan To: pgsql-admin@postgresql.org Subject: Re: Matching indexes on int8 columns? Message-ID: <20031030210036.GA3749@libertyrms.info> Mail-Followup-To: Andrew Sullivan , pgsql-admin@postgresql.org References: <3FA01013.1090105@e-greek.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3FA01013.1090105@e-greek.net> User-Agent: Mutt/1.5.4i X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200310/376 X-Sequence-Number: 10937 On Wed, Oct 29, 2003 at 02:08:03PM -0500, Andrew Biagioni wrote: > > So finally, my question. Why is this behavior present? Is it actually > a feature that I don't know enough to appreciate? It's the side-effect of some other features in the system. If you search on -hackers archives you'll find several attempts to find a solution to this little problem; all of them have failed so far, AFAIK. There was talk of making the int4-to-int8 case behave more reasonably in 7.4, but I don't know whether it's been done. A -- ---- Andrew Sullivan 204-4141 Yonge Street Afilias Canada Toronto, Ontario Canada M2P 2A8 +1 416 646 3304 x110