PostgreSQL Source Code  git master
xid8.h File Reference
#include "access/transam.h"
Include dependency graph for xid8.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


#define PG_RETURN_FULLTRANSACTIONID(X)   return FullTransactionIdGetDatum(X)


static FullTransactionId DatumGetFullTransactionId (Datum X)
static Datum FullTransactionIdGetDatum (FullTransactionId X)

Macro Definition Documentation


#define PG_GETARG_FULLTRANSACTIONID (   X)    DatumGetFullTransactionId(PG_GETARG_DATUM(X))

Definition at line 29 of file xid8.h.


#define PG_RETURN_FULLTRANSACTIONID (   X)    return FullTransactionIdGetDatum(X)

Definition at line 30 of file xid8.h.

Function Documentation

◆ DatumGetFullTransactionId()

static FullTransactionId DatumGetFullTransactionId ( Datum  X)

Definition at line 18 of file xid8.h.

19 {
21 }
static uint64 DatumGetUInt64(Datum X)
Definition: postgres.h:419
static FullTransactionId FullTransactionIdFromU64(uint64 value)
Definition: transam.h:81

References DatumGetUInt64(), and FullTransactionIdFromU64().

◆ FullTransactionIdGetDatum()

static Datum FullTransactionIdGetDatum ( FullTransactionId  X)

Definition at line 24 of file xid8.h.

25 {
27 }
static Datum UInt64GetDatum(uint64 X)
Definition: postgres.h:436
#define U64FromFullTransactionId(x)
Definition: transam.h:49

References U64FromFullTransactionId, and UInt64GetDatum().

Referenced by pg_snapshot_xip().