~/talk

Implementing DDL Deparsing and DDL Replication

Talkat PGConf.dev 2026 · 2026-05-19..05-22· [databases]
links:none on file
slides:none on file

Three concrete designs and a phased path are proposed: JSON deparse via event triggers captures parse trees and outputs self‑documenting JSON but risks a ~4k‑line generator and long‑term maintenance and requires publications; pg_get_table_ddl (like pg_get_database_ddl in PG19) reconstructs DDL from catalogs so it’s reusable but can emit extra CREATE/ALTER steps (surprising behavior) and struggles with mapping; node‑annotation with OIDs rewrites queries in place and auto‑generates code but may need centralized parse/resolve changes to populate OIDs.

AI-written summary · about

  1. 0:00Introduction to DDL replication
  2. 1:30What is DDL application
  3. 3:41Development history of DDL deparsing
  4. 5:46Functional requirements for DDL application
  5. 8:18Approach one: DDL deparser
  6. 10:45Approach two: PG get table DDL
  7. 14:57Approach three: Query qualification
  8. 21:21Implementation roadmap
  9. 22:36Q&A session
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.