Skip to content

Commit 9588e1b

Browse files
committed
Add a CHECK_FOR_INTERRUPTS call in the site where the vacuum delay point
was removed.
1 parent 861f735 commit 9588e1b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/backend/commands/vacuumlazy.c

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
*
3737
*
3838
* IDENTIFICATION
39-
* $PostgreSQL: pgsql/src/backend/commands/vacuumlazy.c,v 1.93 2007/09/10 21:40:03 alvherre Exp $
39+
* $PostgreSQL: pgsql/src/backend/commands/vacuumlazy.c,v 1.94 2007/09/12 02:05:48 alvherre Exp $
4040
*
4141
*-------------------------------------------------------------------------
4242
*/
@@ -870,8 +870,10 @@ count_nondeletable_pages(Relation onerel, LVRelStats *vacrelstats)
870870
/*
871871
* We don't insert a vacuum delay point here, because we have an
872872
* exclusive lock on the table which we want to hold for as short
873-
* a time as possible.
873+
* a time as possible. We still need to check for interrupts
874+
* however.
874875
*/
876+
CHECK_FOR_INTERRUPTS();
875877

876878
blkno--;
877879

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy