Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 9588e1b

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

File tree

Expand file treeCollapse file tree

1 file changed

+4
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-2
lines changed

‎src/backend/commands/vacuumlazy.c

Copy file name to clipboardExpand all lines: src/backend/commands/vacuumlazy.c
+4-2Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.