~/talk

Automatic DDL Replication with pgEdge Distributed Postgres

Talkat FOSSASIA PGDay 2025 · on Friday, 2025-03-14· at 13:30· Hall 2· [databases, distributed-systems]
slides:none on file

Automatic DDL replication for a multimaster Postgres mesh is implemented in pgEdge: logical replication plus a Spock extension layer, Snowflake sequences, a pg_partman hook for partitions and an LOL extension for large objects. Configuration uses three GUCs (toggle with enable_ddl_replication and reload without restart), an anti‑chaos engine that makes nodes eventually consistent, and Raft consensus under the hood. Tables without PKs go to a default insert-only replication set and schema changes propagate across nodes.

AI-written summary · about

  1. 0:00Introduction and background
  2. 1:09Logical replication challenges
  3. 3:19PG Edge multimaster overview
  4. 5:12PG Edge architecture and extensions
  5. 7:22Need for auto DDL replication
  6. 9:50Community Postgres limitations
  7. 13:26PG Edge DDL replication features
  8. 17:51Production best practices
  9. 20:40Why use PG Edge
  10. 22:28Q&A and conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.