Initial pruning in cached plans
Deferring locks on pruned partitions when executing cached generic plans.
Versions
- PostgreSQL 20 · worked-on · improved · major
- PostgreSQL 19 · worked-on · improved · major
- PostgreSQL 18 · shipped · improved · major · 7 commits · +2k / -747 lines
- PostgreSQL 17 · shipped · improved · major · 1 commit · +6 / -419 lines
- PostgreSQL 16 · reverted · improved · major · 1 commit · +114 / -63 lines
- PostgreSQL 15 · shipped · improved · major · 1 commit · +298 / -293 lines
Threads
- PG18: use-after-free in exec partition pruning after an EPQ recheck in LockRows
- ERROR: SubPlan found with no parent plan
- generic plans and "initial" pruning
- BUG #19484: Segmentation fault triggered by FDW
- GetCachedPlan() refactor: move execution lock acquisition out
- BUG #19355: Attempt to insert data unexpectedly during concurrent update
- Lost update in an ordered batch, but only with index scan
- BUG #19078: Segfaults in tts_minimal_store_tuple() following pg_upgrade
- BUG #19056: ExecInitPartitionExecPruning segfault due to NULL es_part_prune_infos
- Add mention in docs about locking all partitions for generic plans
- BUG #18830: ExecInitMerge Segfault on MERGE
- initial pruning in parallel append