Move btbulkdelete's vacuum_delay_point() call to a place in the loop where
authorTom Lane <[email protected]>
Tue, 14 Feb 2006 17:20:01 +0000 (17:20 +0000)
committerTom Lane <[email protected]>
Tue, 14 Feb 2006 17:20:01 +0000 (17:20 +0000)
commit2d7f6947293542c3fc55bc95018766bed6532731
tree0469abfceb889d53b19339e499f38617698d44d3
parent49758f47032acd18dac564771f850052b524dab8
Move btbulkdelete's vacuum_delay_point() call to a place in the loop where
we are not holding a buffer content lock; where it was, InterruptHoldoffCount
is positive and so we'd not respond to cancel signals as intended.  Also
add missing vacuum_delay_point() call in btvacuumcleanup.  This should fix
complaint from Evgeny Gridasov about failure to respond to SIGINT/SIGTERM
in a timely fashion (bug #2257).
src/backend/access/nbtree/nbtree.c