~/talk

pg_plan_advice: Plan Stability and User Planner Control for PostgreSQL?

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

A contrib module called pg_plan_advice implements a round‑trip mini‑language that records planner decisions (join order, join method, scan type) and can reapply or edit them; it targets inclusion in PostgreSQL 19. It adds small plan annotations (RTI tracking for result nodes) and a new planner mask pgs_mask so advice disables incompatible paths rather than rewrite the planner. An auxiliary pg_stash_advice maps query IDs to advice; a pluggable advisor hook supplies advice dynamically. The prototype runs and enforces many directives but leaves cardinality hints and some optimizer hooks for future work.

AI-written summary · about

  1. 0:00Introduction to pg_plan_advice
  2. 1:28Plan advice vs planner hints
  3. 4:01Designing the advice language
  4. 18:13Advice generation challenges
  5. 26:05Enforcing plan advice
  6. 38:28Fine-grained enforcement complexity
  7. 40:12Future work and extensions
  8. 43:41Q&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.