pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Oliver Jowett <oliver@opencloud.com>
To: Boris Partensky <boris.partensky@gmail.com>
Cc: Maciek Sakrejda <msakrejda@truviso.com>
Cc: PG-JDBC Mailing List <pgsql-jdbc@postgresql.org>
Subject: Re: Upgrading JDBC driver from 7.3 to 8.4 affected execution plans
Date: Tue, 05 Oct 2010 11:09:26 +1300
Message-ID: <4CAA5096.3040202@opencloud.com> (raw)
In-Reply-To: <AANLkTi=Hv3gLhJ3Qr1dWVNFrWz3VmhFexcQGwZH2FC-T@mail.gmail.com>
References: <9c7afd41-61f0-4acb-bc14-bb10aeaf395f@d17g2000yqm.googlegroups.com>
	<4CA91F81.4050505@opencloud.com>
	<AANLkTi=0U0q34COq5kUgXTVyW71OduH6O3JepTsgnyu0@mail.gmail.com>
	<AANLkTimMD7Qzipbh2rRzyoSs45_0TRCf3fJO=ypGfQKd@mail.gmail.com>
	<AANLkTi=Hv3gLhJ3Qr1dWVNFrWz3VmhFexcQGwZH2FC-T@mail.gmail.com>

Boris Partensky wrote:
> Oh, this issue should probably be mentioned in
> http://jdbc.postgresql.org/documentation/faq.html#upgradeTo80
> document. It's pretty subtle and can bite someone hard.

The thing that confuses me is that you said you also see the problem via
psql - but psql isn't using parameterized queries at all (psql should be
very similar to how the 7.3 driver executes queries, as in the 7.3 era
the driver would do parameter substitution before sending a single query
string to the server)

-O



view thread (10+ messages)  latest in thread

Message-ID: <4CAA5096.3040202@opencloud.com>
Permalink:  ../4CAA5096.3040202@opencloud.com/
Also on:    postgresql.org/message-id/4CAA5096.3040202@opencloud.com

 · 

reply

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-jdbc@postgresql.org
  Cc: oliver@opencloud.com, boris.partensky@gmail.com, msakrejda@truviso.com
  Subject: Re: Upgrading JDBC driver from 7.3 to 8.4 affected execution plans
  In-Reply-To: <4CAA5096.3040202@opencloud.com>
  References: <9c7afd41-61f0-4acb-bc14-bb10aeaf395f@d17g2000yqm.googlegroups.com> <4CA91F81.4050505@opencloud.com> <AANLkTi=0U0q34COq5kUgXTVyW71OduH6O3JepTsgnyu0@mail.gmail.com> <AANLkTimMD7Qzipbh2rRzyoSs45_0TRCf3fJO=ypGfQKd@mail.gmail.com> <AANLkTi=Hv3gLhJ3Qr1dWVNFrWz3VmhFexcQGwZH2FC-T@mail.gmail.com> <4CAA5096.3040202@opencloud.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