Add a CHECK_FOR_INTERRUPTS() to the loop in ExecMakeTableFunctionResult.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 98ab0c96dd8b039d4a2e415d0c3f7def6ab8c427
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2006-03-10T01:51:34Z
Releases: 8.1.4
Add a CHECK_FOR_INTERRUPTS() to the loop in ExecMakeTableFunctionResult.
Otherwise you can't cancel queries like select ... from generate_series(1,1000000).

Files

PathChange+/−
src/backend/executor/execQual.c modified +3 −1