summaryrefslogtreecommitdiff
path: root/src/include/access/heapam.h
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/include/access/heapam.h
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/include/access/heapam.h')
-rw-r--r--src/include/access/heapam.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/access/heapam.h b/src/include/access/heapam.h
index 0ad87730e17..b46ab7d7390 100644
--- a/src/include/access/heapam.h
+++ b/src/include/access/heapam.h
@@ -168,7 +168,7 @@ extern bool heap_freeze_tuple(HeapTupleHeader tuple,
TransactionId relfrozenxid, TransactionId relminmxid,
TransactionId cutoff_xid, TransactionId cutoff_multi);
extern bool heap_tuple_needs_freeze(HeapTupleHeader tuple, TransactionId cutoff_xid,
- MultiXactId cutoff_multi, Buffer buf);
+ MultiXactId cutoff_multi);
extern bool heap_tuple_needs_eventual_freeze(HeapTupleHeader tuple);
extern void simple_heap_insert(Relation relation, HeapTuple tup);