~/talk

The Edge of ACID with Injection Points

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

Shows how Postgres’ minimal injection points implement wait-and-wake synchronization to reproduce and fix real concurrency bugs. Tools: TAP tests that attach injection points, background psql, and occasional GDB; suggestions for a C API, counters/expiry and kill -9 support. Case studies include a reindex-concurrent bug fixed by swapping two lines, shrinking repro time from hours to 50 milliseconds, a multitransaction deadlock that turned into corruption and was eliminated, and a visibility-map corruption that was actually induced by conditional-variable wakeups. Tests aim for zero production overhead.

AI-written summary · about

  1. 0:00Introduction and priorities
  2. 1:14Systematic complexity and tools
  3. 3:17Injection points concept
  4. 5:17Alternatives to injection points
  5. 7:43How injection points work
  6. 10:08Case study race conditions
  7. 13:31Complex bug reproduction
  8. 14:21Multitransaction bug
  9. 16:58Debugging with injection points
  10. 18:29Visibility map corruption
  11. 21:23Parallel group race condition
  12. 22:36Wish list for injection points
  13. 24:32Summary and closing
  14. 24:58Q&A begins
  15. 29:07Q&A injection points at startup
  16. 30:16Q&A time control for races
~/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.