Received: from magus.postgresql.org ([87.238.57.229]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TWY7W-0005mY-BX for pgsql-jdbc@postgresql.org; Thu, 08 Nov 2012 19:50:34 +0000 Received: from mail63.csoft.net ([205.205.214.4]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TWY7T-00044Q-Id for pgsql-jdbc@postgresql.org; Thu, 08 Nov 2012 19:50:33 +0000 Received: from leary.csoft.net (leary.csoft.net [205.205.214.5]) by mail63.csoft.net (Postfix) with ESMTP id 108FE28403; Thu, 8 Nov 2012 14:50:30 -0500 (EST) Received: by leary.csoft.net (Postfix, from userid 1112) id BE3EC1FBC8; Thu, 8 Nov 2012 14:50:29 -0500 (EST) Date: Thu, 8 Nov 2012 14:50:29 -0500 (EST) From: Kris Jurka X-X-Sender: books@leary.csoft.net To: Peter Cooner cc: dmp , pgsql-jdbc@postgresql.org Subject: Re: Possible bug / regression from generated keys In-Reply-To: Message-ID: References: <509A8FDC.6040403@ttc-cmc.net> <509A989D.5020108@ttc-cmc.net> <509B0539.1050601@ttc-cmc.net> <509BD654.5030500@ttc-cmc.net> User-Agent: Alpine 2.00 (BSO 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Pg-Spam-Score: -2.3 (--) X-Archive-Number: 201211/38 X-Sequence-Number: 23505 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