Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TWGkA-0004zV-0k for pgsql-jdbc@postgresql.org; Thu, 08 Nov 2012 01:17:18 +0000 Received: from outbound.vnet-inc.com ([216.146.104.103]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TWGk6-0002Tb-Jd for pgsql-jdbc@postgresql.org; Thu, 08 Nov 2012 01:17:16 +0000 Received: from [192.168.157.132] (unknown [76.75.27.41]) by outbound.vnet-inc.com (Postfix) with ESMTP id 5E4025A72; Wed, 7 Nov 2012 18:17:15 -0700 (MST) Message-ID: <509B0539.1050601@ttc-cmc.net> Date: Wed, 07 Nov 2012 18:04:57 -0700 From: dmp User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.13) Gecko/20100914 SeaMonkey/2.0.8 MIME-Version: 1.0 To: PostgreSQL JDBC CC: Dave Cramer , Peter Cooner Subject: Re: Possible bug / regression from generated keys References: <509A8FDC.6040403@ttc-cmc.net> <509A989D.5020108@ttc-cmc.net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201211/27 X-Sequence-Number: 23494 I can try as indicated to rebuild the jar so that Peter could have an output of the exact value that is throwing the error when it occurs. To limit output I would then recommend a case that would throw the error soon with as little data processing as possible. Let me know if this maybe something I could do to help. danap. Dave Cramer wrote: > Well there is a relatively easy fix that would get rid of the problem. > Currently we don't check the length of the array that we are trying to > convert. However I'd like to understand how the problem is manifest > before doing that. > > Dave > > Dave Cramer > > dave.cramer(at)credativ(dot)ca > http://www.credativ.ca