projects
/
users
/
bernd
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9675744
)
Add a CHECK_FOR_INTERRUPTS call in the site where the vacuum delay point
author
Alvaro Herrera
<
[email protected]
>
Wed, 12 Sep 2007 02:05:55 +0000
(
02:05
+0000)
committer
Alvaro Herrera
<
[email protected]
>
Wed, 12 Sep 2007 02:05:55 +0000
(
02:05
+0000)
was removed.
src/backend/commands/vacuumlazy.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/commands/vacuumlazy.c
b/src/backend/commands/vacuumlazy.c
index c0b3f6402e6cb63e0d6ab3cdecb5fd612ff449e9..8dcfcd463d8c32199ba11621268753bcb9eb9e77 100644
(file)
--- a/
src/backend/commands/vacuumlazy.c
+++ b/
src/backend/commands/vacuumlazy.c
@@
-857,8
+857,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--;