Definition at line 92 of file pg_logicalinspect.c.
94 #define PG_GET_LOGICAL_SNAPSHOT_INFO_COLS 14
106 elog(
ERROR,
"return type must be a row type");
166 #undef PG_GET_LOGICAL_SNAPSHOT_INFO_COLS
ArrayType * construct_array_builtin(Datum *elems, int nelems, Oid elmtype)
static Datum values[MAXATTR]
#define CStringGetTextDatum(s)
#define Assert(condition)
#define PG_GETARG_TEXT_PP(n)
#define PG_RETURN_DATUM(x)
TypeFuncClass get_call_result_type(FunctionCallInfo fcinfo, Oid *resultTypeId, TupleDesc *resultTupleDesc)
static Datum HeapTupleGetDatum(const HeapTupleData *tuple)
HeapTuple heap_form_tuple(TupleDesc tupleDescriptor, const Datum *values, const bool *isnull)
MemoryContext CurrentMemoryContext
#define PG_GET_LOGICAL_SNAPSHOT_INFO_COLS
static const char * get_snapbuild_state_desc(SnapBuildState state)
static Datum LSNGetDatum(XLogRecPtr X)
static Datum PointerGetDatum(const void *X)
static Datum TransactionIdGetDatum(TransactionId X)
static Datum BoolGetDatum(bool X)
static Datum UInt32GetDatum(uint32 X)
#define PG_LOGICAL_SNAPSHOTS_DIR
bool SnapBuildRestoreSnapshot(SnapBuildOnDisk *ondisk, const char *path, MemoryContext context, bool missing_ok)
XLogRecPtr start_decoding_at
TransactionId initial_xmin_horizon
struct SnapBuild::@116 catchange
bool building_full_snapshot
TransactionId next_phase_at
struct SnapBuild::@115 committed
XLogRecPtr last_serialized_snapshot
char * text_to_cstring(const text *t)
References Assert, BoolGetDatum(), SnapBuildOnDisk::builder, SnapBuild::building_full_snapshot, SnapBuild::catchange, SnapBuild::committed, construct_array_builtin(), CStringGetTextDatum, CurrentMemoryContext, elog, ERROR, get_call_result_type(), get_snapbuild_state_desc(), heap_form_tuple(), HeapTupleGetDatum(), i, SnapBuild::in_slot_creation, SnapBuild::initial_xmin_horizon, j, SnapBuild::last_serialized_snapshot, LSNGetDatum(), MAXPGPATH, SnapBuild::next_phase_at, palloc(), PG_GET_LOGICAL_SNAPSHOT_INFO_COLS, PG_GETARG_TEXT_PP, PG_LOGICAL_SNAPSHOTS_DIR, PG_RETURN_DATUM, PointerGetDatum(), SnapBuildRestoreSnapshot(), sprintf, SnapBuild::start_decoding_at, SnapBuild::state, text_to_cstring(), TransactionIdGetDatum(), SnapBuild::two_phase_at, TYPEFUNC_COMPOSITE, UInt32GetDatum(), values, SnapBuild::xcnt, SnapBuild::xip, SnapBuild::xmax, and SnapBuild::xmin.