diff --git a/src/backend/commands/vacuumlazy.c b/src/backend/commands/vacuumlazy.c index ecc0ee7807..25e0e071a9 100644 --- a/src/backend/commands/vacuumlazy.c +++ b/src/backend/commands/vacuumlazy.c @@ -36,7 +36,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/commands/vacuumlazy.c,v 1.91 2007/09/05 18:10:47 tgl Exp $ + * $PostgreSQL: pgsql/src/backend/commands/vacuumlazy.c,v 1.92 2007/09/10 17:58:45 alvherre Exp $ * *------------------------------------------------------------------------- */ @@ -868,7 +868,11 @@ count_nondeletable_pages(Relation onerel, LVRelStats *vacrelstats) bool tupgone, hastup; - vacuum_delay_point(); + /* + * 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. + */ blkno--;