Re: Canceling ROLLBACK statement - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Canceling ROLLBACK statement
Date
Msg-id 25607.1330664500@sss.pgh.pa.us
Whole thread Raw
In response to Canceling ROLLBACK statement  (Pavan Deolasee <pavan.deolasee@gmail.com>)
List pgsql-hackers
Pavan Deolasee <pavan.deolasee@gmail.com> writes:
> If client is running a ROLLBACK statement and sends a statement cancel
> signal to the server and if the cancel signal gets processed after the
> transaction AbortTransaction() is completed, but before
> CleanupTransaction() is called, I think the server may try to ABORT the
> transaction again,

This should be okay.  If you can demonstrate a case where it causes
problems, that would be a bug to fix, but I don't think it's likely
to be anything fundamental.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Pavan Deolasee
Date:
Subject: Canceling ROLLBACK statement
Next
From: Pavel Stehule
Date:
Subject: Re: review: CHECK FUNCTION statement