File tree Expand file tree Collapse file tree 3 files changed +10
-10
lines changed
Expand file tree Collapse file tree 3 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -7437,10 +7437,10 @@ MultiXactIdGetUpdateXid(TransactionId xmax, uint16 t_infomask)
74377437 * checking the hint bits.
74387438 */
74397439TransactionId
7440- HeapTupleGetUpdateXid (HeapTupleHeader tuple )
7440+ HeapTupleGetUpdateXid (const HeapTupleHeaderData * tup )
74417441{
7442- return MultiXactIdGetUpdateXid (HeapTupleHeaderGetRawXmax (tuple ),
7443- tuple -> t_infomask );
7442+ return MultiXactIdGetUpdateXid (HeapTupleHeaderGetRawXmax (tup ),
7443+ tup -> t_infomask );
74447444}
74457445
74467446/*
Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ static CommandId GetRealCmax(CommandId combocid);
101101 */
102102
103103CommandId
104- HeapTupleHeaderGetCmin (HeapTupleHeader tup )
104+ HeapTupleHeaderGetCmin (const HeapTupleHeaderData * tup )
105105{
106106 CommandId cid = HeapTupleHeaderGetRawCommandId (tup );
107107
@@ -115,7 +115,7 @@ HeapTupleHeaderGetCmin(HeapTupleHeader tup)
115115}
116116
117117CommandId
118- HeapTupleHeaderGetCmax (HeapTupleHeader tup )
118+ HeapTupleHeaderGetCmax (const HeapTupleHeaderData * tup )
119119{
120120 CommandId cid = HeapTupleHeaderGetRawCommandId (tup );
121121
@@ -150,7 +150,7 @@ HeapTupleHeaderGetCmax(HeapTupleHeader tup)
150150 * changes the tuple in shared buffers.
151151 */
152152void
153- HeapTupleHeaderAdjustCmax (HeapTupleHeader tup ,
153+ HeapTupleHeaderAdjustCmax (const HeapTupleHeaderData * tup ,
154154 CommandId * cmax ,
155155 bool * iscombo )
156156{
Original file line number Diff line number Diff line change @@ -78,12 +78,12 @@ typedef HeapTupleData *HeapTuple;
7878#define HeapTupleIsValid (tuple ) PointerIsValid(tuple)
7979
8080/* HeapTupleHeader functions implemented in utils/time/combocid.c */
81- extern CommandId HeapTupleHeaderGetCmin (HeapTupleHeader tup );
82- extern CommandId HeapTupleHeaderGetCmax (HeapTupleHeader tup );
83- extern void HeapTupleHeaderAdjustCmax (HeapTupleHeader tup ,
81+ extern CommandId HeapTupleHeaderGetCmin (const HeapTupleHeaderData * tup );
82+ extern CommandId HeapTupleHeaderGetCmax (const HeapTupleHeaderData * tup );
83+ extern void HeapTupleHeaderAdjustCmax (const HeapTupleHeaderData * tup ,
8484 CommandId * cmax , bool * iscombo );
8585
8686/* Prototype for HeapTupleHeader accessors in heapam.c */
87- extern TransactionId HeapTupleGetUpdateXid (HeapTupleHeader tuple );
87+ extern TransactionId HeapTupleGetUpdateXid (const HeapTupleHeaderData * tup );
8888
8989#endif /* HTUP_H */
You can’t perform that action at this time.
0 commit comments