From mike@scmlabs.com Mon Sep 10 16:14:13 2001 Received: from picasso.scmlabs.com ([65.101.243.178]) by postgresql.org (8.11.3/8.11.4) with ESMTP id f8AGED780079 for ; Mon, 10 Sep 2001 12:14:13 -0400 (EDT) (envelope-from mike@scmlabs.com) Received: from neiman ([10.0.1.168]) by picasso.scmlabs.com (8.9.3/8.9.3) with SMTP id KAA25913 for ; Mon, 10 Sep 2001 10:14:12 -0600 Message-ID: <027b01c13a13$c6acfd60$a801000a@scmlabs.com> From: "Michael Baker" To: Subject: Transaction Aborting on sql call failure Date: Mon, 10 Sep 2001 10:15:15 -0600 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0278_01C139E1.7BEF4DF0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-Archive-Number: 200109/70 X-Sequence-Number: 2170 This is a multi-part message in MIME format. ------=_NextPart_000_0278_01C139E1.7BEF4DF0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable We are running into a situation where psql is aborting the transaction when= one call returns an error. Is there a way to continue on with transaction= or at least save what has already happened (like an Oracle Save Point)? ------=_NextPart_000_0278_01C139E1.7BEF4DF0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
We are running into a situation where psql= is=20 aborting the transaction when one call returns an error.  Is there a w= ay to=20 continue on with transaction or at least save what has already happened (li= ke an=20 Oracle Save Point)?
 
 
------=_NextPart_000_0278_01C139E1.7BEF4DF0-- From sszabo@megazone23.bigpanda.com Fri Sep 14 15:27:27 2001 Received: from megazone23.bigpanda.com ([216.136.151.41]) by postgresql.org (8.11.3/8.11.4) with ESMTP id f8EFRM791903 for ; Fri, 14 Sep 2001 11:27:27 -0400 (EDT) (envelope-from sszabo@megazone23.bigpanda.com) Received: from localhost (sszabo@localhost) by megazone23.bigpanda.com (8.11.2/8.11.2) with ESMTP id f8EFRBP42275; Fri, 14 Sep 2001 08:27:12 -0700 (PDT) Date: Fri, 14 Sep 2001 08:27:11 -0700 (PDT) From: Stephan Szabo To: Michael Baker cc: pgsql-admin@postgresql.org Subject: Re: Transaction Aborting on sql call failure In-Reply-To: <027b01c13a13$c6acfd60$a801000a@scmlabs.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200109/80 X-Sequence-Number: 2181 > We are running into a situation where psql is aborting the transaction > when one call returns an error. Is there a way to continue on with > transaction or at least save what has already happened (like an Oracle > Save Point)? Not yet, although savepoints have been talked about. (maybe 7.3?) From hstenger@adinet.com.uy Sat Sep 15 15:17:39 2001 Received: from fecorreo01.adinet.com.uy (fecorreo01.adinet.com.uy [206.99.44.217]) by postgresql.org (8.11.3/8.11.4) with ESMTP id f8FFHc721965 for ; Sat, 15 Sep 2001 11:17:39 -0400 (EDT) (envelope-from hstenger@adinet.com.uy) Received: from adinet.com.uy (r200-40-94-68.adinet.com.uy [200.40.94.68]) by fecorreo01.adinet.com.uy (8.11.6/8.11.6) with ESMTP id f8FFFgn18114; Sat, 15 Sep 2001 12:15:43 -0300 (EST) Message-ID: <3BA38E83.25A1EC09@adinet.com.uy> Date: Sat, 15 Sep 2001 12:23:15 -0500 From: Haroldo Stenger X-Mailer: Mozilla 4.78 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Stephan Szabo CC: Michael Baker , pgsql-admin@postgresql.org Subject: Re: Transaction Aborting on sql call failure References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200109/82 X-Sequence-Number: 2183 Stephan Szabo wrote: > > > We are running into a situation where psql is aborting the transaction > > when one call returns an error. Is there a way to continue on with > > transaction or at least save what has already happened (like an Oracle > > Save Point)? > > Not yet, although savepoints have been talked about. (maybe 7.3?) New SMGR opens the way to this *very important* feature. Vadim? Another proposal to solve this was recently proposed, not using WAL. Bruce? I think this issue is rasing in the lists frequently enough, as for giving it top priority. Maybe is isn't so easy. Comments? Thanks Regards, Haroldo. From pgman@candle.pha.pa.us Sat Sep 15 19:04:53 2001 Received: from candle.pha.pa.us (candle.navpoint.com [162.33.245.46]) by postgresql.org (8.11.3/8.11.4) with ESMTP id f8FJ4r774707 for ; Sat, 15 Sep 2001 15:04:53 -0400 (EDT) (envelope-from pgman@candle.pha.pa.us) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.10.1) id f8FJ4VX04195; Sat, 15 Sep 2001 15:04:31 -0400 (EDT) From: Bruce Momjian Message-Id: <200109151904.f8FJ4VX04195@candle.pha.pa.us> Subject: Re: Transaction Aborting on sql call failure In-Reply-To: <3BA38E83.25A1EC09@adinet.com.uy> "from Haroldo Stenger at Sep 15, 2001 12:23:15 pm" To: Haroldo Stenger Date: Sat, 15 Sep 2001 15:04:31 -0400 (EDT) CC: Stephan Szabo , Michael Baker , pgsql-admin@postgresql.org X-Mailer: ELM [version 2.4ME+ PL90 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Archive-Number: 200109/83 X-Sequence-Number: 2184 > Stephan Szabo wrote: > > > > > We are running into a situation where psql is aborting the transaction > > > when one call returns an error. Is there a way to continue on with > > > transaction or at least save what has already happened (like an Oracle > > > Save Point)? > > > > Not yet, although savepoints have been talked about. (maybe 7.3?) > > New SMGR opens the way to this *very important* feature. Vadim? > > Another proposal to solve this was recently proposed, not using WAL. Bruce? Yes, see TODO page under transactions. It has my email about it. -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 853-3000 + If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania 19026