Detected by buildfarm member prion
statoid = HeapTupleGetOid(htup);
heap_freetuple(htup);
heap_close(statrel, RowExclusiveLock);
+
+ /*
+ * Invalidate relcache so that others see the new statistics.
+ */
+ CacheInvalidateRelcache(rel);
+
relation_close(rel, NoLock);
/*
ObjectAddressSet(address, StatisticExtRelationId, statoid);
- /*
- * Invalidate relcache so that others see the new statistics.
- */
- CacheInvalidateRelcache(rel);
-
return address;
}