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

Go to the source code of this file.


#define DatumGetLSN(X)   ((XLogRecPtr) DatumGetInt64(X))
#define LSNGetDatum(X)   (Int64GetDatum((int64) (X)))
#define PG_GETARG_LSN(n)   DatumGetLSN(PG_GETARG_DATUM(n))
#define PG_RETURN_LSN(x)   return LSNGetDatum(x)

Macro Definition Documentation

◆ DatumGetLSN

#define DatumGetLSN (   X)    ((XLogRecPtr) DatumGetInt64(X))

Definition at line 21 of file pg_lsn.h.

Referenced by GetSubscriptionRelState(), libpqrcv_create_slot(), and readRecoveryCommandFile().

◆ LSNGetDatum