Re: Canceling ROLLBACK statement

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Pavan Deolasee <pavan(dot)deolasee(at)gmail(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Canceling ROLLBACK statement
Date: 2012-03-02 05:01:40
Message-ID: 25607.1330664500@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Pavan Deolasee <pavan(dot)deolasee(at)gmail(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Pavel Stehule 2012-03-02 08:29:26 Re: review: CHECK FUNCTION statement
Previous Message Pavan Deolasee 2012-03-02 04:30:49 Canceling ROLLBACK statement