Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit ed1d3f5

Browse files
Add missing flag reset to ensure subsequent manual cancelation gives correct reason.
1 parent 2d29f5f commit ed1d3f5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/backend/tcop/postgres.c

+2-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $PostgreSQL: pgsql/src/backend/tcop/postgres.c,v 1.584 2010/01/17 04:27:54 tgl Exp $
11+
* $PostgreSQL: pgsql/src/backend/tcop/postgres.c,v 1.585 2010/01/21 09:30:36 sriggs Exp $
1212
*
1313
* NOTES
1414
* this is the "main" module of the postgres backend and
@@ -2865,6 +2865,7 @@ ProcessInterrupts(void)
28652865
if (RecoveryConflictPending)
28662866
{
28672867
ImmediateInterruptOK = false; /* not idle anymore */
2868+
RecoveryConflictPending = false;
28682869
DisableNotifyInterrupt();
28692870
DisableCatchupInterrupt();
28702871
if (DoingCommandRead)

0 commit comments

Comments
 (0)