pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: doc: Note that plan advice does not affect cached plans 2+ messages / 1 participants [nested] [flat]
* pgsql: doc: Note that plan advice does not affect cached plans @ 2026-10-16 21:26 Robert Haas <rhaas@postgresql.org> 0 siblings, 0 replies; 2+ messages in thread From: Robert Haas @ 2026-10-16 21:26 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org doc: Note that plan advice does not affect cached plans 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 Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/26bd08fb5c069fbdf55867adc398cfca0f55d5c8 Modified Files -------------- doc/src/sgml/pgplanadvice.sgml | 12 ++++++++++++ doc/src/sgml/pgstashadvice.sgml | 8 ++++++++ 2 files changed, 20 insertions(+) ^ permalink raw reply [nested|flat] 2+ messages in thread
* pgsql: doc: Note that plan advice does not affect cached plans @ 2026-10-16 21:26 Robert Haas <rhaas@postgresql.org> 0 siblings, 0 replies; 2+ messages in thread From: Robert Haas @ 2026-10-16 21:26 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org doc: Note that plan advice does not affect cached plans 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 Branch ------ REL_19_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/a69ac3559823a81fb9b16aa77db450617ff80f14 Modified Files -------------- doc/src/sgml/pgplanadvice.sgml | 12 ++++++++++++ doc/src/sgml/pgstashadvice.sgml | 8 ++++++++ 2 files changed, 20 insertions(+) ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2026-10-16 21:26 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2026-10-16 21:26 pgsql: doc: Note that plan advice does not affect cached plans Robert Haas <rhaas@postgresql.org> 2026-10-16 21:26 pgsql: doc: Note that plan advice does not affect cached plans Robert Haas <rhaas@postgresql.org>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox