index 366c4af27fa0d1bf42b6a04171019b318f9035cb..d4d19148e5736ae7e1c5f04b3b7a91b2cd4ea326 100644 (file)
@@ -742,6 +742,8 @@ compute_index_stats(Relation onerel, double totalrows,
{
HeapTuple heapTuple = rows[rowno];
+ vacuum_delay_point();
+
/*
* Reset the per-tuple context each time, to reclaim any cruft
* left behind by evaluating the predicate or index expressions.