mirror of
https://github.com/postgres/postgres.git
synced 2026-04-22 06:37:06 -04:00
Add a CHECK_FOR_INTERRUPTS call in the site where the vacuum delay point
was removed.
This commit is contained in:
parent
6f3727c5e7
commit
d48f8ab8e1
1 changed files with 4 additions and 2 deletions
|
|
@ -31,7 +31,7 @@
|
|||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $PostgreSQL: pgsql/src/backend/commands/vacuumlazy.c,v 1.50.4.3 2007/09/10 17:59:03 alvherre Exp $
|
||||
* $PostgreSQL: pgsql/src/backend/commands/vacuumlazy.c,v 1.50.4.4 2007/09/12 02:05:53 alvherre Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
|
|
@ -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--;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue