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.

Macros

#define DatumGetFullTransactionId(X)   (FullTransactionIdFromU64(DatumGetUInt64(X)))
 
#define FullTransactionIdGetDatum(X)   (UInt64GetDatum(U64FromFullTransactionId(X)))
 
#define PG_GETARG_FULLTRANSACTIONID(X)   DatumGetFullTransactionId(PG_GETARG_DATUM(X))
 
#define PG_RETURN_FULLTRANSACTIONID(X)   return FullTransactionIdGetDatum(X)
 

Macro Definition Documentation

◆ DatumGetFullTransactionId

#define DatumGetFullTransactionId (   X)    (FullTransactionIdFromU64(DatumGetUInt64(X)))

Definition at line 17 of file xid8.h.

◆ FullTransactionIdGetDatum

#define FullTransactionIdGetDatum (   X)    (UInt64GetDatum(U64FromFullTransactionId(X)))

Definition at line 18 of file xid8.h.

Referenced by pg_snapshot_xip().

◆ PG_GETARG_FULLTRANSACTIONID

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

◆ PG_RETURN_FULLTRANSACTIONID

#define PG_RETURN_FULLTRANSACTIONID (   X)    return FullTransactionIdGetDatum(X)