pub unsafe fn HeapTupleGetRawCommandId(
tup: *const HeapTupleHeaderData,
) -> CommandId
Expand description
HeapTupleHeaderGetRawCommandId will give you what’s in the header whether it is useful or not. Most code should use HeapTupleHeaderGetCmin or HeapTupleHeaderGetCmax instead, but note that those Assert that you can get a legitimate result, ie you are in the originating transaction!
§Safety
Caller must ensure tup
is a valid HeapTupleHeaderData
pointer