Re: Managing Rollback - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Managing Rollback
Date
Msg-id 10341.965071884@sss.pgh.pa.us
Whole thread Raw
In response to Managing Rollback  (hstenger@adinet.com.uy)
List pgsql-hackers
hstenger@adinet.com.uy writes:
> What do we mean in the last two lines of the following comment?

>             /* ----------------
>              *          Here we are in the middle of a
> transaction block but
>              *          one of the commands caused an abort so
> we do nothing
>              *          but remain in the abort state. 
> Eventually we will get
>              *          to the "END TRANSACTION" which will set
> things straight.
>              * ----------------
>              */
>         case TBLOCK_ABORT:

It just means that nothing's going to happen until the user sends
COMMIT or ROLLBACK --- the xact.c state will remain the same until
then.
        regards, tom lane


pgsql-hackers by date:

Previous
From: hstenger@adinet.com.uy
Date:
Subject: Managing Rollback
Next
From: Tom Lane
Date:
Subject: Announcement: I'm joining Great Bridge