Skip to main content

Module publications

Module publications 

Source
Expand description

v6.1.2 — logical-replication publication catalog.

In-memory table of publications, owned by the engine. The catalog persists across restarts via the snapshot envelope’s v3 trailer block (see crate::lib::build_envelope). WAL replay also rebuilds it for free since CREATE PUBLICATION rides the same WAL path as every other DDL.

Per [V6_1_DESIGN.md] §“Architectural deliberations” #1: treating spg_publications as a regular catalog table was considered but rejected — the v6.1.2 design lands an internal engine field, so the table-shape catalog stays a future-table (when SHOW PUBLICATIONS and per-publication metadata queries arrive, v6.1.3 can promote this struct to a virtual table).

Structs§

Publications

Enums§

PublicationError