summaryrefslogtreecommitdiff
path: root/src/backend/access
diff options
context:
space:
mode:
authorPeter Geoghegan2022-02-25 02:31:07 +0000
committerPeter Geoghegan2022-02-25 02:31:07 +0000
commitcf879d3069a3f025824b4a3fa3086137b34bad48 (patch)
tree2c9b6cc5f63e907a9241203c7a20233c7e72390e /src/backend/access
parent31d8d4740ffb21c9898a21b5018c31e92af6935d (diff)
Remove unnecessary heap_tuple_needs_freeze argument.
The buffer argument hasn't been used since the function was first added by commit bbb6e559c4. The sibling heap_prepare_freeze_tuple function doesn't have such an argument either. Remove it.
Diffstat (limited to 'src/backend/access')
-rw-r--r--src/backend/access/heap/heapam.c2
-rw-r--r--src/backend/access/heap/vacuumlazy.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/access/heap/heapam.c b/src/backend/access/heap/heapam.c
index 2240cfd936d..59d43e2ba92 100644
--- a/src/backend/access/heap/heapam.c
+++ b/src/backend/access/heap/heapam.c
@@ -7141,7 +7141,7 @@ heap_tuple_needs_eventual_freeze(HeapTupleHeader tuple)
*/
bool
heap_tuple_needs_freeze(HeapTupleHeader tuple, TransactionId cutoff_xid,
- MultiXactId cutoff_multi, Buffer buf)
+ MultiXactId cutoff_multi)
{
TransactionId xid;
diff --git a/src/backend/access/heap/vacuumlazy.c b/src/backend/access/heap/vacuumlazy.c
index 242511a235f..f48e699b91a 100644
--- a/src/backend/access/heap/vacuumlazy.c
+++ b/src/backend/access/heap/vacuumlazy.c
@@ -2015,7 +2015,7 @@ lazy_scan_noprune(LVRelState *vacrel,
tupleheader = (HeapTupleHeader) PageGetItem(page, itemid);
if (heap_tuple_needs_freeze(tupleheader,
vacrel->FreezeLimit,
- vacrel->MultiXactCutoff, buf))
+ vacrel->MultiXactCutoff))
{
if (vacrel->aggressive)
{