]> granicus.if.org Git - postgresql/commit
Move btbulkdelete's vacuum_delay_point() call to a place in the loop where
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 14 Feb 2006 17:20:17 +0000 (17:20 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 14 Feb 2006 17:20:17 +0000 (17:20 +0000)
commitf5ab0a259780d63f8de7b1734ac246afce9f369d
tree7796295c23b25511f25e7c8aade157ccc93d585c
parentdc9d11dc33c371d6c6f9f750e558ef138143038e
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