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: Move SnapBuild and SnapBuildOnDisk structs to snapshot_internal.
Date: Tue, 15 Oct 2024 00:20:46 +0000
Message-ID: <E1t0VIt-000rQ0-5N@gemulon.postgresql.org> (raw)

Move SnapBuild and SnapBuildOnDisk structs to snapshot_internal.h.

This commit moves the definitions of the SnapBuild and SnapBuildOnDisk
structs, related to logical snapshots, to the snapshot_internal.h
file. This change allows external tools, such as
pg_logicalinspect (with an upcoming patch), to access and utilize the
contents of logical snapshots.

Author: Bertrand Drouvot
Reviewed-by: Amit Kapila, Shveta Malik, Peter Smith
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/e2fd615ecc177493b9a961a640ec0dcc4a25755c

Modified Files
--------------
src/backend/replication/logical/snapbuild.c  | 175 +-----------------------
src/include/replication/snapbuild.h          |   2 +-
src/include/replication/snapbuild_internal.h | 196 +++++++++++++++++++++++++++
3 files changed, 198 insertions(+), 175 deletions(-)



Message-ID: <E1t0VIt-000rQ0-5N@gemulon.postgresql.org>
Permalink:  ../E1t0VIt-000rQ0-5N@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1t0VIt-000rQ0-5N@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: Move SnapBuild and SnapBuildOnDisk structs to snapshot_internal.
  In-Reply-To: <E1t0VIt-000rQ0-5N@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