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 PG_GETARG_FULLTRANSACTIONID(X)   DatumGetFullTransactionId(PG_GETARG_DATUM(X))
 
#define PG_RETURN_FULLTRANSACTIONID(X)   return FullTransactionIdGetDatum(X)
 

Functions

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

Macro Definition Documentation

◆ PG_GETARG_FULLTRANSACTIONID

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

Definition at line 29 of file xid8.h.

◆ PG_RETURN_FULLTRANSACTIONID

#define PG_RETURN_FULLTRANSACTIONID (   X)    return FullTransactionIdGetDatum(X)

Definition at line 30 of file xid8.h.

Function Documentation

◆ DatumGetFullTransactionId()

static FullTransactionId DatumGetFullTransactionId ( Datum  X)
inlinestatic

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)
inlinestatic

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().