Re: Hot Standy introduced problem with query cancel behavior

Simon Riggs <simon@2ndquadrant.com>

From: Simon Riggs <simon@2ndQuadrant.com>
To: Joachim Wieland <joe@mcknight.de>
Cc: Andres Freund <andres@anarazel.de>, pgsql-hackers@postgresql.org, Tom Lane <tgl@sss.pgh.pa.us>, Kris Jurka <books@ejurka.com>, Fujii Masao <masao.fujii@gmail.com>
Date: 2010-01-07T17:01:30Z
Lists: pgsql-hackers
On Thu, 2010-01-07 at 14:45 +0100, Joachim Wieland wrote:

> @Simon: Is there a reason why you have not yet removed recoveryConflictMode
> from PGPROC?

Unfortunately we still need a mechanism to mark which backends have been
cancelled already. Transaction state for virtual transactions isn't
visible on the procarray, so we need something there to indicate that a
backend has been sent a conflict. Otherwise we'd end up waiting for it
endlessly. The name will be changing though.

-- 
 Simon Riggs           www.2ndQuadrant.com