diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/backend/commands/vacuumlazy.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/backend/commands/vacuumlazy.c b/src/backend/commands/vacuumlazy.c index 516e53af299..182c0e46379 100644 --- a/src/backend/commands/vacuumlazy.c +++ b/src/backend/commands/vacuumlazy.c @@ -31,7 +31,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/commands/vacuumlazy.c,v 1.50.4.2 2005/05/07 21:32:53 tgl Exp $ + * $PostgreSQL: pgsql/src/backend/commands/vacuumlazy.c,v 1.50.4.3 2007/09/10 17:59:03 alvherre Exp $ * *------------------------------------------------------------------------- */ @@ -863,7 +863,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--; |