Received: from localhost (maia-3.hub.org [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id 6A5999FB304 for ; Fri, 3 Aug 2007 22:17:59 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 48893-10 for ; Fri, 3 Aug 2007 22:17:48 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from tremor.opencloud.co.nz (tremor.opencloud.co.nz [131.203.101.230]) by postgresql.org (Postfix) with ESMTP id 6537B9FB1DD for ; Fri, 3 Aug 2007 22:17:26 -0300 (ADT) Received: from 222-154-135-183.jetstream.xtra.co.nz ([222.154.135.183] helo=[10.1.1.3]) by tremor.opencloud.co.nz with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1IH8Gf-00011i-Ff; Sat, 04 Aug 2007 13:17:21 +1200 Message-ID: <46B3D39D.20001@opencloud.com> Date: Sat, 04 Aug 2007 13:17:17 +1200 From: Oliver Jowett User-Agent: Thunderbird 1.5.0.12 (Windows/20070509) MIME-Version: 1.0 To: albertlaszlorobert@gmail.com CC: pgsql-jdbc@postgresql.org Subject: Re: PSQLException: Too many update results were returned. References: <373352.78463.qm@web32701.mail.mud.yahoo.com> <46B3CBA0.3040203@opencloud.com> <46B3CDEB.2060608@gmail.com> <46B3CF4F.4020705@opencloud.com> <46B3D25A.7000103@gmail.com> In-Reply-To: <46B3D25A.7000103@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200708/27 X-Sequence-Number: 17340 Albert László-Róbert wrote: > i wish i can do that. the files that contains those statements are up to > 500k ... and the majority of the code contain function implementations. Err ok if you're just reading from a file and giving it to the driver without any (or little) parsing, why exactly are you using batch updates in the first place? Can't you just use plain execute()? -O