From af384667ff38df6f2b19d806e1d920c955001829 Mon Sep 17 00:00:00 2001 From: Alvaro Herrera Date: Wed, 12 Sep 2007 02:05:55 +0000 Subject: [PATCH] Add a CHECK_FOR_INTERRUPTS call in the site where the vacuum delay point was removed. --- src/backend/commands/vacuumlazy.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/backend/commands/vacuumlazy.c b/src/backend/commands/vacuumlazy.c index fc9497b473..22d7fea211 100644 --- a/src/backend/commands/vacuumlazy.c +++ b/src/backend/commands/vacuumlazy.c @@ -870,8 +870,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--; -- 2.39.5