Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commit9588e1b

Browse files
committed
Add a CHECK_FOR_INTERRUPTS call in the site where the vacuum delay point
was removed.
1 parent861f735 commit9588e1b

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)

[8]ページ先頭

©2009-2025 Movatter.jp