~/talk

Hacking on Postgres: An Overview

Talkat PGConf NYC 2022 · 2022-09-22..09-23· [databases, open-source]
links:none on file
slides:none on file

Step‑by‑step roadmap for getting code into Postgres: use the mailing list & commitfests workflow, attach discussion threads in the CF app, and expect long asynchronous reviews; examine src/{backend,bin,test}, contrib, and docs to find readmes and call trees; use palloc/pfree and memory contexts and prefer built allocators (slab/generation) over malloc; follow style (tabs, 80 cols, brace placement); iterate locally with vim+tmux scripts, rebuild, run make check or tap tests, and debug crashes with gdb/ldb — demo shows an incremental‑sort patch that triggers a use‑after‑free and is found with the debugger.

AI-written summary · about

  1. 0:00Introduction and context
  2. 3:40Community and patch process
  3. 13:52Contributor workflow
  4. 16:58Navigating the source code
  5. 24:00Internal facilities
  6. 37:00Development and debugging
  7. 47:51Testing and submission
~/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.