Re: [HACKERS] Canceling ROLLBACK statement

2012-03-01 Thread Tom Lane
Pavan Deolasee 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 t

[HACKERS] Canceling ROLLBACK statement

2012-03-01 Thread Pavan Deolasee
Hi All, While working on something in XC, I hit upon an assertion failure. While this is in XC code, I believe there can be a way of reproducing this on vanilla PostgreSQL as well. I could not do so even after several tries, unless I add some code or run it through debugger. Here is the theory any