PostgreSQL Source Code  git master
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
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

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

Definition at line 21 of file pg_lsn.h.

Referenced by libpqrcv_create_slot(), and readRecoveryCommandFile().