pg_plan_advice
Planner extensibility and the pg_plan_advice/pg_stash_advice modules to steer and stabilize plans.
Versions
- PostgreSQL 20 · worked-on · new · major
- PostgreSQL 19 · shipped · new · major · 30 commits · +18.6k / -685 lines
- PostgreSQL 18 · worked-on · new · moderate
Threads
- pg_plan_advice: add NO_ scan and join method tags
- O(N^3) planning time in choose_plan_name() since 8c49a484e8e
- [PATCH v1] pg_stash_advice: Reject embedded NUL bytes in persistence files
- BUG #19838: pg_plan_advice: generated GATHER advice fails when supplied back
- pg_plan_advice fails on a CustomScan that replaces a join
- pg_*_advice: tsv load failure, etc.
- PG19: flat-copied RelOptInfos share extension_state with the original rel
- pg_plan_advice: fix empty FOREIGN_JOIN sublist validation
- Detecting plan drift: pg_plan_advice pins plans, nothing watches them
- Rename EXISTS-to-ANY converted subplan to exists_to_any
- BUG #19579: Wrong results regression
- pg_plan_advice: fix parsing underscore in numbers
- pg_plan_advice: FOREIGN_JOIN advice generated for a single-relation foreign scan is not round-trip safe
- [PATCH] Fix two incorrect code comments
- pg_plan_advice
- pg_stash_advice: dump file with overlong stash name crashes worker in a restart loop
- BUG #19493: Assertion failure in pg_plan_advice with EXISTS subquery and DO_NOT_SCAN advice
- Typo Fixes and Patch
- pg_stash_advice doc
- DOCS: pg_plan_advice minor doc fixes
- pg_plan_advice: rtekind uninitialized compilation waning
- pg_plan_advice fails when NestLoop outer side is Sort over FunctionScan
- pgsql: Add pg_plan_advice contrib module.
- [PATCH] Allow complex data for GUC extra.
- plan shape work
- RFC: extensible planner state
- PG does not support one function of its extension pg_hint_plan
- allowing extensions to control planner behavior