Add contrib/pg_logicalinspect.
authorMasahiko Sawada <[email protected]>
Tue, 15 Oct 2024 00:22:02 +0000 (17:22 -0700)
committerMasahiko Sawada <[email protected]>
Tue, 15 Oct 2024 00:22:02 +0000 (17:22 -0700)
commit7cdfeee320e72162b62dddddee638e713c2b8680
treef96ad90afe907be7ec9191bc845f79628325bfc4
parente2fd615ecc177493b9a961a640ec0dcc4a25755c
Add contrib/pg_logicalinspect.

This module provides SQL functions that allow to inspect logical
decoding components.

It currently allows to inspect the contents of serialized logical
snapshots of a running database cluster, which is useful for debugging
or educational purposes.

Author: Bertrand Drouvot
Reviewed-by: Amit Kapila, Shveta Malik, Peter Smith, Peter Eisentraut
Reviewed-by: David G. Johnston
Discussion: https://postgr.es/m/ZscuZ92uGh3wm4tW%40ip-10-97-1-34.eu-west-3.compute.internal
18 files changed:
contrib/Makefile
contrib/meson.build
contrib/pg_logicalinspect/.gitignore [new file with mode: 0644]
contrib/pg_logicalinspect/Makefile [new file with mode: 0644]
contrib/pg_logicalinspect/expected/logical_inspect.out [new file with mode: 0644]
contrib/pg_logicalinspect/logicalinspect.conf [new file with mode: 0644]
contrib/pg_logicalinspect/meson.build [new file with mode: 0644]
contrib/pg_logicalinspect/pg_logicalinspect--1.0.sql [new file with mode: 0644]
contrib/pg_logicalinspect/pg_logicalinspect.c [new file with mode: 0644]
contrib/pg_logicalinspect/pg_logicalinspect.control [new file with mode: 0644]
contrib/pg_logicalinspect/specs/logical_inspect.spec [new file with mode: 0644]
doc/src/sgml/contrib.sgml
doc/src/sgml/filelist.sgml
doc/src/sgml/pglogicalinspect.sgml [new file with mode: 0644]
src/backend/replication/logical/snapbuild.c
src/backend/utils/adt/arrayfuncs.c
src/include/replication/snapbuild.h
src/include/replication/snapbuild_internal.h