Received: from megazone.bigpanda.com (megazone.bigpanda.com [63.150.15.178]) by postgresql.org (Postfix) with ESMTP id 89EC9475A2A for ; Tue, 16 Jul 2002 16:31:11 -0400 (EDT) Received: by megazone.bigpanda.com (Postfix, from userid 1001) id 8DF23D60A; Tue, 16 Jul 2002 13:31:10 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by megazone.bigpanda.com (Postfix) with ESMTP id 839835C02; Tue, 16 Jul 2002 13:31:10 -0700 (PDT) Date: Tue, 16 Jul 2002 13:31:10 -0700 (PDT) From: Stephan Szabo To: Alain Lavigne Cc: Subject: Re: Need help on a troublesome query plan In-Reply-To: Message-ID: <20020716132924.X52161-100000@megazone23.bigpanda.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200207/247 X-Sequence-Number: 8625 On Tue, 16 Jul 2002, Alain Lavigne wrote: > Thanks that worked, but why does that happen or maybe you could point > to the proper thread so I read up on it. It's an issue that the numeric constant gets cast to int4 somewhat prematurely. I don't have a pointer to a thread off hand, but if you search the archives you should find a couple.