1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-09 22:41:56 +03:00

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.
This commit is contained in:
Peter Geoghegan
2022-02-24 18:31:07 -08:00
parent 31d8d4740f
commit cf879d3069
3 changed files with 3 additions and 3 deletions

View File

@ -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;

View File

@ -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)
{