X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 92B02564DC for ; Wed, 9 Mar 2005 13:28:17 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 11897-09 for ; Wed, 9 Mar 2005 13:28:07 +0000 (GMT) Received: from mosaic02.mosaic.de (mosaic02.mosaic.de [195.247.16.18]) by svr1.postgresql.org (Postfix) with ESMTP id 62D6056376 for ; Wed, 9 Mar 2005 13:28:06 +0000 (GMT) Received: from localhost (localhost [127.0.0.1]) by mosaic02.mosaic.de (Postfix) with ESMTP id 22D6D778B2; Wed, 9 Mar 2005 14:28:34 +0100 (CET) Received: from mosaic02.mosaic.de ([127.0.0.1]) by localhost (mosaic02.mosaic-ag.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 03019-10; Wed, 9 Mar 2005 14:28:33 +0100 (CET) Received: by mosaic02.mosaic.de (Postfix, from userid 10) id 38ECE778B5; Wed, 9 Mar 2005 14:28:31 +0100 (CET) Received: from [172.17.1.87] (aupc287.mosaic-ag.com [172.17.1.87]) by mailsrv.mosaic-ag.com (Postfix) with ESMTP id 33297561E4; Wed, 9 Mar 2005 14:27:47 +0100 (CET) Message-ID: <422EF9D0.5090303@mosaic-ag.com> Date: Wed, 09 Mar 2005 14:27:44 +0100 From: Roland Walter User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.7.5) Gecko/20041217 X-Accept-Language: de-DE,de,en MIME-Version: 1.0 To: Oliver Jowett Cc: "pgsql-jdbc@postgresql.org" Subject: Re: JDBC driver build 215 slow when index contains column References: <422EC149.5040306@mosaic-ag.com> <422EF6EF.4020103@opencloud.com> In-Reply-To: <422EF6EF.4020103@opencloud.com> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: mosaic-ag.com X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.235 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200503/85 X-Sequence-Number: 12477 Oliver Jowett schrieb: > Roland Walter wrote: > >> I use PostgreSQL 7.4.6 and the JDBC-driver build 215. [...] > > >> Have I to do a typecast to ::bigint with build 215 in the >> PreparedStatement >> to get the same performance as with build 310? > > > Against a 7.4.x server, yes. > >> That would be bad, as I had to >> form the PreparedStatement incompatible to other databases. > > > Why can't you use build 310? It's intended to work against 7.4.x > servers as well as 8.0.x. > Will use it now. I wanted to avoid finding the places in the application where setString is used for BIGINT values. But im just doing that now. -- Roland Walter MOSAIC SOFTWARE AG Telefon: 02225/882-411 Fax: 02225/882-201 http://www.mosaic-ag.com