X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 8D3A08B9C20 for ; Mon, 31 Jan 2005 22:49:22 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 68296-01 for ; Mon, 31 Jan 2005 22:49:14 +0000 (GMT) Received: from koolancexeon.g2switchworks.com (mail.g2switchworks.com [63.87.162.25]) by svr1.postgresql.org (Postfix) with ESMTP id F3FB88B9C1C for ; Mon, 31 Jan 2005 22:49:15 +0000 (GMT) Received: mail.g2switchworks.com 10.10.1.8 from 10.10.1.37 10.10.1.37 via HTTP with MS-WebStorage 6.5.6944 Received: from state.g2switchworks.com by mail.g2switchworks.com; 31 Jan 2005 16:49:15 -0600 Subject: Re: number os commands inside transaction block From: Scott Marlowe To: Luiz Rafael Culik Guimaraes Cc: Michael Fuhr , pgsql-sql@postgresql.org In-Reply-To: <045701c507e4$5c1c1790$0105a8c0@luiz> References: <6c21003b0501301141234c256b@mail.gmail.com> <20050131132701.G12960@megazone.bigpanda.com> <043f01c507df$9174a790$0105a8c0@luiz> <20050131221306.GA51538@winnie.fuhr.org> <045701c507e4$5c1c1790$0105a8c0@luiz> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Message-Id: <1107211755.16640.157.camel@state.g2switchworks.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 (1.4.6-2) Date: Mon, 31 Jan 2005 16:49:15 -0600 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.001 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200501/322 X-Sequence-Number: 20110 On Mon, 2005-01-31 at 16:29, Luiz Rafael Culik Guimaraes wrote: > Hi Michael Fuhr > >> how i can increse the number of commands in an transaction block > > > > What do you mean? What problem are you trying to solve? >=20 > i=C2=B4m trying to solve the follow message > current transaction is aborted, queries ignored until end of transaction > block >=20 > some one tell me this is defined inside postgres sources > i recive this message when i execute an certain number of queries inside = an=20 > begin/commit block This is normal postgresql behaviour, and can't really be changed.=20 However, with the advent of savepoints in 8.0, it is now possible to detect such errors and roll back so you can then continue. Without using savepoints with rollback to the given save point, however, there's not much way to get around it. It sounds to me like you're getting an error somewhere in your scripts you need to look into.