Re: Possible bug / regression from generated keys

From: Kris Jurka <books(at)ejurka(dot)com>
To: Peter Cooner <petriborg(at)gmail(dot)com>
Cc: dmp <danap(at)ttc-cmc(dot)net>, pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Possible bug / regression from generated keys
Date: 2012-11-08 19:50:29
Message-ID: alpine.BSO.2.00.1211081448190.1603@leary.csoft.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

On Thu, 8 Nov 2012, Peter Cooner wrote:

> Brilliant! I wonder why my test case doesn't do that, as its so close
> to yours, alas.

The key to reproducing this is having both a getParameterMetaData call
before execution and a batch size larger than the driver's
prepareThreshold, so if you tested a batch of two, this will never be
triggered.

> I'm glad the problem has finally been exposed. Any idea why this
> doesn't happen in the older driver? Did something change or is by
> chance?
>

The older driver's do not support binary transfer at all.

Kris Jurka

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message dmp 2012-11-09 16:54:02 JDBC Source Builds
Previous Message Peter Cooner 2012-11-08 19:47:17 Re: Possible bug / regression from generated keys