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:
6feb928
)
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:53 +0000
(
02:05
+0000)
committer
Alvaro Herrera
<
[email protected]
>
Wed, 12 Sep 2007 02:05:53 +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 19d6e6456608be9dbc7ea00aee3f654fb72c7a57..dc29a64d1e80d9fdf8689c9d95d8364412c74d5a 100644
(file)
--- a/
src/backend/commands/vacuumlazy.c
+++ b/
src/backend/commands/vacuumlazy.c
@@
-866,8
+866,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--;