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)
7437
7437
* checking the hint bits.
7438
7438
*/
7439
7439
TransactionId
7440
- HeapTupleGetUpdateXid (HeapTupleHeader tuple )
7440
+ HeapTupleGetUpdateXid (const HeapTupleHeaderData * tup )
7441
7441
{
7442
- return MultiXactIdGetUpdateXid (HeapTupleHeaderGetRawXmax (tuple ),
7443
- tuple -> t_infomask );
7442
+ return MultiXactIdGetUpdateXid (HeapTupleHeaderGetRawXmax (tup ),
7443
+ tup -> t_infomask );
7444
7444
}
7445
7445
7446
7446
/*
Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ static CommandId GetRealCmax(CommandId combocid);
101
101
*/
102
102
103
103
CommandId
104
- HeapTupleHeaderGetCmin (HeapTupleHeader tup )
104
+ HeapTupleHeaderGetCmin (const HeapTupleHeaderData * tup )
105
105
{
106
106
CommandId cid = HeapTupleHeaderGetRawCommandId (tup );
107
107
@@ -115,7 +115,7 @@ HeapTupleHeaderGetCmin(HeapTupleHeader tup)
115
115
}
116
116
117
117
CommandId
118
- HeapTupleHeaderGetCmax (HeapTupleHeader tup )
118
+ HeapTupleHeaderGetCmax (const HeapTupleHeaderData * tup )
119
119
{
120
120
CommandId cid = HeapTupleHeaderGetRawCommandId (tup );
121
121
@@ -150,7 +150,7 @@ HeapTupleHeaderGetCmax(HeapTupleHeader tup)
150
150
* changes the tuple in shared buffers.
151
151
*/
152
152
void
153
- HeapTupleHeaderAdjustCmax (HeapTupleHeader tup ,
153
+ HeapTupleHeaderAdjustCmax (const HeapTupleHeaderData * tup ,
154
154
CommandId * cmax ,
155
155
bool * iscombo )
156
156
{
Original file line number Diff line number Diff line change @@ -78,12 +78,12 @@ typedef HeapTupleData *HeapTuple;
78
78
#define HeapTupleIsValid (tuple ) PointerIsValid(tuple)
79
79
80
80
/* 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 ,
84
84
CommandId * cmax , bool * iscombo );
85
85
86
86
/* Prototype for HeapTupleHeader accessors in heapam.c */
87
- extern TransactionId HeapTupleGetUpdateXid (HeapTupleHeader tuple );
87
+ extern TransactionId HeapTupleGetUpdateXid (const HeapTupleHeaderData * tup );
88
88
89
89
#endif /* HTUP_H */
You can’t perform that action at this time.
0 commit comments