pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: pg_plan_advice: Suppress advice from unflattened set operations. 2+ messages / 1 participants [nested] [flat]
* pgsql: pg_plan_advice: Suppress advice from unflattened set operations. @ 2026-10-29 15:03 Robert Haas <rhaas@postgresql.org> 0 siblings, 0 replies; 2+ messages in thread From: Robert Haas @ 2026-10-29 15:03 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org pg_plan_advice: Suppress advice from unflattened set operations. Previously, we could generate GATHER, GATHER_MERGE, or NO_GATHER advice for portions of the plan tree generated by set operation planning. There are no upper-planner hooks we can use to enforce such advice, so we shouldn't generate it, either. Make it so, and also add a bunch of test cases to verify the behavior. Reported-by: Nikolay Samokhvalov <nik@postgres.ai> Discussion: http://postgr.es/m/CA+Tgmob3X+_CSjAa_BtU9bXrX_ge_HyvO=7gSCLtBpncGwn-kQ@mail.gmail.com Tested-by: Jakub Wartak <jakub.wartak@enterprisedb.com> Backpatch-through: 19 Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/a054b77e40d0579a9ee1218e2447d5af045d1083 Modified Files -------------- contrib/pg_plan_advice/expected/gather.out | 165 ++++++++++++++++++++++++++--- contrib/pg_plan_advice/pgpa_join.c | 4 +- contrib/pg_plan_advice/pgpa_scan.c | 92 +++++++++++++--- contrib/pg_plan_advice/pgpa_scan.h | 4 +- contrib/pg_plan_advice/pgpa_walker.c | 135 +++++++++++++---------- contrib/pg_plan_advice/pgpa_walker.h | 4 +- contrib/pg_plan_advice/sql/gather.sql | 54 ++++++++++ 7 files changed, 374 insertions(+), 84 deletions(-) ^ permalink raw reply [nested|flat] 2+ messages in thread
* pgsql: pg_plan_advice: Suppress advice from unflattened set operations. @ 2026-10-29 15:03 Robert Haas <rhaas@postgresql.org> 0 siblings, 0 replies; 2+ messages in thread From: Robert Haas @ 2026-10-29 15:03 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org pg_plan_advice: Suppress advice from unflattened set operations. Previously, we could generate GATHER, GATHER_MERGE, or NO_GATHER advice for portions of the plan tree generated by set operation planning. There are no upper-planner hooks we can use to enforce such advice, so we shouldn't generate it, either. Make it so, and also add a bunch of test cases to verify the behavior. Reported-by: Nikolay Samokhvalov <nik@postgres.ai> Discussion: http://postgr.es/m/CA+Tgmob3X+_CSjAa_BtU9bXrX_ge_HyvO=7gSCLtBpncGwn-kQ@mail.gmail.com Tested-by: Jakub Wartak <jakub.wartak@enterprisedb.com> Backpatch-through: 19 Branch ------ REL_19_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/04ac919fd0bfc43ccf4d29d69cdc800ad587fc39 Modified Files -------------- contrib/pg_plan_advice/expected/gather.out | 165 ++++++++++++++++++++++++++--- contrib/pg_plan_advice/pgpa_join.c | 4 +- contrib/pg_plan_advice/pgpa_scan.c | 92 +++++++++++++--- contrib/pg_plan_advice/pgpa_scan.h | 4 +- contrib/pg_plan_advice/pgpa_walker.c | 135 +++++++++++++---------- contrib/pg_plan_advice/pgpa_walker.h | 4 +- contrib/pg_plan_advice/sql/gather.sql | 54 ++++++++++ 7 files changed, 374 insertions(+), 84 deletions(-) ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2026-10-29 15:03 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2026-10-29 15:03 pgsql: pg_plan_advice: Suppress advice from unflattened set operations. Robert Haas <rhaas@postgresql.org> 2026-10-29 15:03 pgsql: pg_plan_advice: Suppress advice from unflattened set operations. 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