#include "postgres.h"
#include "libpq/pqformat.h"
#include "utils/fmgrprotos.h"
#include "utils/numeric.h"
#include "utils/pg_lsn.h"
Go to the source code of this file.
Definition at line 186 of file pg_lsn.c.
References a, b, PG_GETARG_LSN, and PG_RETURN_INT32.
Definition at line 113 of file pg_lsn.c.
References PG_GETARG_LSN, and PG_RETURN_BOOL.
Definition at line 158 of file pg_lsn.c.
References PG_GETARG_LSN, and PG_RETURN_BOOL.
Definition at line 140 of file pg_lsn.c.
References PG_GETARG_LSN, and PG_RETURN_BOOL.
Definition at line 201 of file pg_lsn.c.
References hashint8().
Definition at line 64 of file pg_lsn.c.
References PG_GETARG_CSTRING, pg_lsn_in_safe(), PG_RETURN_LSN, and str.
Referenced by libpqrcv_create_slot(), and parse_subscription_options().
Definition at line 32 of file pg_lsn.c.
References ereturn, errcode(), errmsg(), InvalidXLogRecPtr, MAXPG_LSNCOMPONENT, str, and syntax_error().
Referenced by check_recovery_target_lsn(), and pg_lsn_in().
Definition at line 167 of file pg_lsn.c.
References PG_GETARG_LSN, and PG_RETURN_LSN.
Definition at line 149 of file pg_lsn.c.
References PG_GETARG_LSN, and PG_RETURN_BOOL.
Definition at line 131 of file pg_lsn.c.
References PG_GETARG_LSN, and PG_RETURN_BOOL.
Definition at line 219 of file pg_lsn.c.
References buf, CStringGetDatum(), DirectFunctionCall3, Int32GetDatum(), numeric_in(), ObjectIdGetDatum(), PG_GETARG_LSN, snprintf, and UINT64_FORMAT.
Referenced by pg_wal_lsn_diff().
Definition at line 280 of file pg_lsn.c.
References buf, CStringGetDatum(), DirectFunctionCall1, DirectFunctionCall2, DirectFunctionCall3, ereport, errcode(), errmsg(), ERROR, Int32GetDatum(), numeric_in(), numeric_is_nan(), numeric_pg_lsn(), numeric_sub(), NumericGetDatum(), ObjectIdGetDatum(), PG_GETARG_LSN, PG_GETARG_NUMERIC, snprintf, and UINT64_FORMAT.
Definition at line 122 of file pg_lsn.c.
References PG_GETARG_LSN, and PG_RETURN_BOOL.
Definition at line 75 of file pg_lsn.c.
References buf, LSN_FORMAT_ARGS, MAXPG_LSNLEN, PG_GETARG_LSN, PG_RETURN_CSTRING, pstrdup(), and snprintf.
Definition at line 246 of file pg_lsn.c.
References buf, CStringGetDatum(), DirectFunctionCall1, DirectFunctionCall2, DirectFunctionCall3, ereport, errcode(), errmsg(), ERROR, Int32GetDatum(), numeric_add(), numeric_in(), numeric_is_nan(), numeric_pg_lsn(), NumericGetDatum(), ObjectIdGetDatum(), PG_GETARG_LSN, PG_GETARG_NUMERIC, snprintf, and UINT64_FORMAT.
Definition at line 87 of file pg_lsn.c.
References buf, PG_GETARG_POINTER, PG_RETURN_LSN, and pq_getmsgint64().
Definition at line 97 of file pg_lsn.c.
References buf, PG_GETARG_LSN, PG_RETURN_BYTEA_P, pq_begintypsend(), pq_endtypsend(), and pq_sendint64().
Definition at line 176 of file pg_lsn.c.
References PG_GETARG_LSN, and PG_RETURN_LSN.