Commit ed1d3f5e authored by Simon Riggs's avatar Simon Riggs

Add missing flag reset to ensure subsequent manual cancelation gives correct reason.

parent 2d29f5f5
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/tcop/postgres.c,v 1.584 2010/01/17 04:27:54 tgl Exp $ * $PostgreSQL: pgsql/src/backend/tcop/postgres.c,v 1.585 2010/01/21 09:30:36 sriggs Exp $
* *
* NOTES * NOTES
* this is the "main" module of the postgres backend and * this is the "main" module of the postgres backend and
...@@ -2865,6 +2865,7 @@ ProcessInterrupts(void) ...@@ -2865,6 +2865,7 @@ ProcessInterrupts(void)
if (RecoveryConflictPending) if (RecoveryConflictPending)
{ {
ImmediateInterruptOK = false; /* not idle anymore */ ImmediateInterruptOK = false; /* not idle anymore */
RecoveryConflictPending = false;
DisableNotifyInterrupt(); DisableNotifyInterrupt();
DisableCatchupInterrupt(); DisableCatchupInterrupt();
if (DoingCommandRead) if (DoingCommandRead)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment