From: Dave Cramer <pg@fastcrypt.com>
To: Guido Neitzer <guido.neitzer@pharmaline.de>
Cc: pgsql-performance@postgresql.org
Subject: Re: Prepared statement not using index
Date: Mon, 12 Sep 2005 11:28:27 -0400
Message-ID: <9E7179CC-5E87-4DDD-8541-671BF4CA09BD@fastcrypt.com> (raw)
In-Reply-To: <410580B5-429B-421B-9469-72EDECC4D7D5@pharmaline.de>
References: <08E57775-5E88-42B0-926D-21CAFB21CF24@pharmaline.de>
<8800F410-0A1C-4AD4-96F0-B3193638056F@fastcrypt.com>
<410580B5-429B-421B-9469-72EDECC4D7D5@pharmaline.de>
On 12-Sep-05, at 9:22 AM, Guido Neitzer wrote:
> On 12.09.2005, at 14:38 Uhr, Dave Cramer wrote:
>
>
>> The difference between the 7.4 driver and the 8.0.3 driver is the
>> 8.0.3 driver is using server side prepared statements and binding
>> the parameter to the type in setXXX(n,val).
>>
>
> Would be a good idea when this were configurable.
You found the configuration for it
>
> I found my solution (use the JDBC2 drivers with protocolVersion=2),
> but how long will this work?
I think you would be better understanding what the correct type is
for the index to work properly.
>
> cug
>
>
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-performance@postgresql.org
Cc: pg@fastcrypt.com, guido.neitzer@pharmaline.de
Subject: Re: Prepared statement not using index
In-Reply-To: <9E7179CC-5E87-4DDD-8541-671BF4CA09BD@fastcrypt.com>
References: <08E57775-5E88-42B0-926D-21CAFB21CF24@pharmaline.de> <8800F410-0A1C-4AD4-96F0-B3193638056F@fastcrypt.com> <410580B5-429B-421B-9469-72EDECC4D7D5@pharmaline.de> <9E7179CC-5E87-4DDD-8541-671BF4CA09BD@fastcrypt.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox