Fix cancellation of real time queries

cmake_branch_point
Brian Cloutier 2018-04-04 18:12:40 +00:00 committed by Brian Cloutier
parent 827b951d09
commit 71209054dc
1 changed files with 9 additions and 0 deletions

View File

@ -199,6 +199,15 @@ MultiRealTimeExecute(Job *job)
{ {
MultiClientWait(waitInfo); MultiClientWait(waitInfo);
} }
#ifdef WIN32
/*
* Don't call CHECK_FOR_INTERRUPTS because we want to clean up after ourselves,
* calling pgwin32_dispatch_queued_signals sets QueryCancelPending so we leave
* the loop.
*/
pgwin32_dispatch_queued_signals();
#endif
} }
MultiClientFreeWaitInfo(waitInfo); MultiClientFreeWaitInfo(waitInfo);