Coverity: Sizeof not portable
sizeof(HeapTuple *) should be sizeof(HeapTuple)
@@ -4074,7 +4074,7 @@ merge_leaf_stats(VacAttrStatsP stats,
MemoryContext old_context;
HeapTuple *heaptupleStats =
- (HeapTuple *) palloc(numPartitions * sizeof(HeapTuple *));
+ (HeapTuple *) palloc(numPartitions * sizeof(HeapTuple));
// NDV calculations
float4 colAvgWidth = 0;
