Received: from localhost (maia-1.hub.org [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id BB1F09FB3F4 for ; Fri, 3 Aug 2007 22:21:04 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-maia, port 10024) with ESMTP id 89938-08 for ; Fri, 3 Aug 2007 22:21:01 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.5 Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.189]) by postgresql.org (Postfix) with ESMTP id CE5579FB37F for ; Fri, 3 Aug 2007 22:21:00 -0300 (ADT) Received: by mu-out-0910.google.com with SMTP id i10so1225781mue for ; Fri, 03 Aug 2007 18:20:58 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:reply-to:organization:user-agent:mime-version:to:cc:subject:references:in-reply-to:x-enigmail-version:content-type:content-transfer-encoding; b=i5Kr1Z7sxsPaq52jDS5zZk44RZtdZEJmTPhQK+XSZa7ajCMcNel+b7Y2Y3yaleD21ANPDsGXa+9BrF7OEtywSY4fJc+XpxWsGnUNRHiwLuHOVM+iJIk6PJrvRI4bR7/FsNs34cNQxwf2dnTw21AsD+wie+gPSQseiKVt38vtSsc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:reply-to:organization:user-agent:mime-version:to:cc:subject:references:in-reply-to:x-enigmail-version:content-type:content-transfer-encoding; b=YD+WnLPAZVTBQVeIB+9FS5Arb1gV5DPB8nk938Ip9m/h21TRInYfv1tbfhHF4QgrkN2GFyhDvVN/tpbOUFzkmZLnmB70KFOxkIiiGepCj36oLEfhLYNFs+5kpCacmA1ZgkRvL7rc+1yVqRI4olL+7iWQ1/1FN7Xfxfn0/zaUrWY= Received: by 10.86.79.19 with SMTP id c19mr2642003fgb.1186190458758; Fri, 03 Aug 2007 18:20:58 -0700 (PDT) Received: from ?192.168.1.212? ( [81.196.40.147]) by mx.google.com with ESMTPS id f31sm7457325fkf.2007.08.03.18.20.56 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 03 Aug 2007 18:20:57 -0700 (PDT) Message-ID: <46B3D474.90407@gmail.com> Date: Sat, 04 Aug 2007 04:20:52 +0300 From: =?ISO-8859-1?Q?Albert_L=E1szl=F3-R=F3bert?= Reply-To: albertlaszlorobert@gmail.com Organization: RSoft Solutions S.R.L. User-Agent: Thunderbird 1.5.0.12 (X11/20070604) MIME-Version: 1.0 To: Oliver Jowett 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> <46B3D39D.20001@opencloud.com> In-Reply-To: <46B3D39D.20001@opencloud.com> X-Enigmail-Version: 0.94.2.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200708/28 X-Sequence-Number: 17341 Oliver Jowett wrote: > 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 > i tryed, but there i got syntax error. these files are upgrades from a database, but must be run on more than 600 databases. albertlr