Hi,

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:
                        s->blockState = TBLOCK_INPROGRESS;
                        AbortTransaction();
                        StartTransaction();
                        break;

Haroldo.


-- 
----------------------+------------------------
 Haroldo Stenger      | hstenger@ieee.org
 Montevideo, Uruguay. | hstenger@adinet.com.uy
----------------------+------------------------
 Visit UYLUG Web Site: http://www.linux.org.uy
-----------------------------------------------

Mon, 31 Jul 2000 15:53:33 -0300
hstenger@adinet.com.uy
Managing Rollback
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

Mon, 31 Jul 2000 15:31:24 -0400
Tom Lane <tgl@sss.pgh.pa.us>
Re: Managing Rollback 