PostgreSQL Source Code git master
Loading...
Searching...
No Matches
xid8.h
Go to the documentation of this file.
1/*-------------------------------------------------------------------------
2 *
3 * xid8.h
4 * Header file for the "xid8" ADT.
5 *
6 * Copyright (c) 2020-2026, PostgreSQL Global Development Group
7 *
8 * src/include/utils/xid8.h
9 *
10 *-------------------------------------------------------------------------
11 */
12#ifndef XID8_H
13#define XID8_H
14
15#include "access/transam.h"
16
17static inline FullTransactionId
22
23static inline Datum
28
29#define PG_GETARG_FULLTRANSACTIONID(X) DatumGetFullTransactionId(PG_GETARG_DATUM(X))
30#define PG_RETURN_FULLTRANSACTIONID(X) return FullTransactionIdGetDatum(X)
31
32#endif /* XID8_H */
static uint64 DatumGetUInt64(Datum X)
Definition postgres.h:433
static Datum UInt64GetDatum(uint64 X)
Definition postgres.h:443
uint64_t Datum
Definition postgres.h:70
static int fb(int x)
#define U64FromFullTransactionId(x)
Definition transam.h:49
static FullTransactionId FullTransactionIdFromU64(uint64 value)
Definition transam.h:81
static FullTransactionId DatumGetFullTransactionId(Datum X)
Definition xid8.h:18
static Datum FullTransactionIdGetDatum(FullTransactionId X)
Definition xid8.h:24