pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Masahiko Sawada <msawada@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add contrib/pg_logicalinspect.
Date: Tue, 15 Oct 2024 00:22:49 +0000
Message-ID: <E1t0VKs-000rS6-8P@gemulon.postgresql.org> (raw)

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/7cdfeee320e72162b62dddddee638e713c2b8680

Modified Files
--------------
contrib/Makefile                                   |   1 +
contrib/meson.build                                |   1 +
contrib/pg_logicalinspect/.gitignore               |   6 +
contrib/pg_logicalinspect/Makefile                 |  31 ++++
.../pg_logicalinspect/expected/logical_inspect.out |  52 +++++++
contrib/pg_logicalinspect/logicalinspect.conf      |   1 +
contrib/pg_logicalinspect/meson.build              |  39 +++++
.../pg_logicalinspect/pg_logicalinspect--1.0.sql   |  43 ++++++
contrib/pg_logicalinspect/pg_logicalinspect.c      | 167 +++++++++++++++++++++
.../pg_logicalinspect/pg_logicalinspect.control    |   5 +
.../pg_logicalinspect/specs/logical_inspect.spec   |  34 +++++
doc/src/sgml/contrib.sgml                          |   1 +
doc/src/sgml/filelist.sgml                         |   1 +
doc/src/sgml/pglogicalinspect.sgml                 | 143 ++++++++++++++++++
src/backend/replication/logical/snapbuild.c        |  99 +++++++-----
src/backend/utils/adt/arrayfuncs.c                 |   6 +
src/include/replication/snapbuild.h                |   4 +
src/include/replication/snapbuild_internal.h       |   3 +
18 files changed, 598 insertions(+), 39 deletions(-)



Message-ID: <E1t0VKs-000rS6-8P@gemulon.postgresql.org>
Permalink:  ../E1t0VKs-000rS6-8P@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1t0VKs-000rS6-8P@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: msawada@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Add contrib/pg_logicalinspect.
  In-Reply-To: <E1t0VKs-000rS6-8P@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox