mirror of
https://github.com/postgres/postgres.git
synced 2026-10-23 13:29:09 +03:00
Plan advice is consulted only at plan time. When a cached plan is re-executed, no re-planning occurs, so updated advice has no effect. DISCARD PLANS can be used to discard cached plans, but only affects the sessions in which it is executed. Reported-by: Noah Misch <noah@leadboat.com> Suggested-by: Jakub Wartak <jakub.wartak@enterprisedb.com> Discussion: https://postgr.es/m/20260827171830.68.noahmisch@microsoft.com Co-authored-by: Dongpo Liu <poe.liu@pm.me> Co-authored-by: Robert Haas <rhaas@postgresql.org> Backpatch-through: 19