Move SnapBuild and SnapBuildOnDisk structs to snapshot_internal.h.
Masahiko Sawada <msawada@postgresql.org>
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
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/replication/logical/snapbuild.c | modified | +1 −174 |
| src/include/replication/snapbuild.h | modified | +1 −1 |
| src/include/replication/snapbuild_internal.h | added | +196 −0 |
Discussion
- Add contrib/pg_logicalsnapinspect 81 messages · 2024-08-22 → 2025-03-16