From: Alvaro Herrera Date: Wed, 12 Sep 2007 02:05:36 +0000 (+0000) Subject: Add a CHECK_FOR_INTERRUPTS call in the site where the vacuum delay point X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=3b517a37ccc0d0cf3e400fd2488e811aa646e980;p=users%2Fbernd%2Fpostgres.git Add a CHECK_FOR_INTERRUPTS call in the site where the vacuum delay point was removed. --- diff --git a/src/backend/commands/vacuumlazy.c b/src/backend/commands/vacuumlazy.c index 487395de80..509214605a 100644 --- a/src/backend/commands/vacuumlazy.c +++ b/src/backend/commands/vacuumlazy.c @@ -830,8 +830,10 @@ count_nondeletable_pages(Relation onerel, LVRelStats *vacrelstats) /* * We don't insert a vacuum delay point here, because we have an * exclusive lock on the table which we want to hold for as short - * a time as possible. + * a time as possible. We still need to check for interrupts + * however. */ + CHECK_FOR_INTERRUPTS(); blkno--;