~/talk

Intro to Postgres Hacking via Temporal Tables

Talkat PGCon 2023 · 2023-05-30..06-02· [databases, developer-experience]
links:none on file
slides:none on file

Adds SQL:2011-style application-time temporal support by implementing for a portion of DML: defines a period on a table, temporal PK/unique constraints, temporal update/delete semantics, and temporal FKs; parses new grammar in gram.y with flex/bison, introduces new parse/plan/exec node types, a syscache entry and lsyscache helper, and evaluates bounds during executor init so the epilogue inserts 0–2 leftover rows using tuple table slots. Patch compiles and runs with some review feedback (updatable-view remapping and PK handling fixed), targeting PG 17.

AI-written summary · about

  1. 0:00Introduction and speaker background
  2. 1:52Temporal tables overview
  3. 3:39Why query pipeline phases matter
  4. 6:46Parsing phase deep dive
  5. 9:59Memory management in Postgres
  6. 10:41Analysis phase explained
  7. 13:27System catalog caches
  8. 20:56Rewriting phase and views
  9. 22:00Planning and optimization
  10. 24:30Executor phase introduction
  11. 27:02Executor nodes and state
  12. 32:34Tuple table slots explained
  13. 37:14Heap and buffer tuple slots
  14. 40:03Virtual and minimal tuple slots
  15. 43:57References and closing
~/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.