Re: Fix for error in autocommit off

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Fix for error in autocommit off
Date: 2003-03-20 06:01:33
Message-ID: 200303200601.h2K61X409370@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


I wasn't sure how to handle it. Is the attached patch correct?

---------------------------------------------------------------------------

Tom Lane wrote:
> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> > */
> > case TBLOCK_DEFAULT:
> > AbortTransaction();
> > ! if (autocommit)
> > ! CleanupTransaction();
> > ! else
> > ! s->blockState = TBLOCK_ABORT;
> > break;
>
> You forgot suppressChain...
>
> regards, tom lane
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://archives.postgresql.org
>

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

Attachment Content-Type Size
unknown_filename text/plain 21.7 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2003-03-20 06:07:04 Re: Fix for error in autocommit off
Previous Message Tom Lane 2003-03-20 05:52:07 Re: Fix for error in autocommit off