aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/backend/access/heap/vacuumlazy.c4
-rw-r--r--src/include/access/heapam.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/backend/access/heap/vacuumlazy.c b/src/backend/access/heap/vacuumlazy.c
index e9bd6dba80f..0bb78162f54 100644
--- a/src/backend/access/heap/vacuumlazy.c
+++ b/src/backend/access/heap/vacuumlazy.c
@@ -1237,8 +1237,8 @@ lazy_scan_heap(Relation onerel, VacuumParams *params, LVRelStats *vacrelstats,
* We count tuples removed by the pruning step as removed by VACUUM
* (existing LP_DEAD line pointers don't count).
*/
- tups_vacuumed += heap_page_prune(onerel, buf, vistest, false,
- InvalidTransactionId, 0,
+ tups_vacuumed += heap_page_prune(onerel, buf, vistest,
+ InvalidTransactionId, 0, false,
&vacrelstats->latestRemovedXid,
&vacrelstats->offnum);
diff --git a/src/include/access/heapam.h b/src/include/access/heapam.h
index d96a47b1cec..60e5cd3109b 100644
--- a/src/include/access/heapam.h
+++ b/src/include/access/heapam.h
@@ -174,8 +174,8 @@ struct GlobalVisState;
extern void heap_page_prune_opt(Relation relation, Buffer buffer);
extern int heap_page_prune(Relation relation, Buffer buffer,
struct GlobalVisState *vistest,
- TransactionId limited_oldest_xmin,
- TimestampTz limited_oldest_ts,
+ TransactionId old_snap_xmin,
+ TimestampTz old_snap_ts_ts,
bool report_stats, TransactionId *latestRemovedXid,
OffsetNumber *off_loc);
extern void heap_page_prune_execute(Buffer buffer,