mirror of
https://github.com/postgres/postgres.git
synced 2025-11-21 00:42:43 +03:00
Add some const decorations (htup.h)
Discussion: https://www.postgresql.org/message-id/flat/5b558da8-99fb-0a99-83dd-f72f05388517@enterprisedb.com
This commit is contained in:
@@ -7437,10 +7437,10 @@ MultiXactIdGetUpdateXid(TransactionId xmax, uint16 t_infomask)
|
||||
* checking the hint bits.
|
||||
*/
|
||||
TransactionId
|
||||
HeapTupleGetUpdateXid(HeapTupleHeader tuple)
|
||||
HeapTupleGetUpdateXid(const HeapTupleHeaderData *tup)
|
||||
{
|
||||
return MultiXactIdGetUpdateXid(HeapTupleHeaderGetRawXmax(tuple),
|
||||
tuple->t_infomask);
|
||||
return MultiXactIdGetUpdateXid(HeapTupleHeaderGetRawXmax(tup),
|
||||
tup->t_infomask);
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user