#include "postgres.h"
#include "funcapi.h"
#include "replication/snapbuild_internal.h"
#include "utils/array.h"
#include "utils/builtins.h"
#include "utils/pg_lsn.h"
Go to the source code of this file.
Definition at line 31 of file pg_logicalinspect.c.
References SNAPBUILD_BUILDING_SNAPSHOT, SNAPBUILD_CONSISTENT, SNAPBUILD_FULL_SNAPSHOT, and SNAPBUILD_START.
Referenced by pg_get_logical_snapshot_info().
Definition at line 58 of file pg_logicalinspect.c.
References ereport, errmsg(), ERROR, filename, InvalidXLogRecPtr, MAXPGPATH, and sprintf.
Referenced by pg_get_logical_snapshot_info(), and pg_get_logical_snapshot_meta().
Definition at line 134 of file pg_logicalinspect.c.
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(), SnapBuild::next_phase_at, palloc(), parse_snapshot_filename(), PG_GET_LOGICAL_SNAPSHOT_INFO_COLS, PG_GETARG_TEXT_PP, PG_RETURN_DATUM, PointerGetDatum(), SnapBuildRestoreSnapshot(), 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.
Definition at line 99 of file pg_logicalinspect.c.
References Assert(), SnapBuildOnDisk::checksum, CurrentMemoryContext, elog, ERROR, get_call_result_type(), heap_form_tuple(), HeapTupleGetDatum(), i, Int64GetDatum(), SnapBuildOnDisk::magic, parse_snapshot_filename(), PG_GET_LOGICAL_SNAPSHOT_META_COLS, PG_GETARG_TEXT_PP, PG_RETURN_DATUM, SnapBuildRestoreSnapshot(), text_to_cstring(), TYPEFUNC_COMPOSITE, UInt32GetDatum(), values, and SnapBuildOnDisk::version.
"pg_logicalinspect"
,
PG_VERSION