pgsql: Move btbulkdelete's vacuum_delay_point() call to a place in the

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Move btbulkdelete's vacuum_delay_point() call to a place in the
Date: 2006-02-14 17:20:17
Message-ID: 20060214172017.C4E6D9DC9F0@postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
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).

Tags:
----
REL8_0_STABLE

Modified Files:
--------------
pgsql/src/backend/access/nbtree:
nbtree.c (r1.124.4.1 -> r1.124.4.2)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/access/nbtree/nbtree.c.diff?r1=1.124.4.1&r2=1.124.4.2)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2006-02-14 17:32:29 Re: pgsql: Add psql option: -1 or --single-transaction
Previous Message Tom Lane 2006-02-14 17:20:10 pgsql: Move btbulkdelete's vacuum_delay_point() call to a place in the