Re: pg_plan_advice
Alastair Turner <minion@decodable.me>
From: Alastair Turner <minion@decodable.me>
To: Robert Haas <robertmhaas@gmail.com>
Cc: Jakub Wartak <jakub.wartak@enterprisedb.com>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2025-10-31T21:17:41Z
Lists: pgsql-hackers
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Add pg_plan_advice contrib module.
- 5883ff30b02c 19 (unreleased) landed
-
Store information about Append node consolidation in the final plan.
- 7358abcc6076 19 (unreleased) landed
-
Store information about elided nodes in the final plan.
- 0d4391b265f8 19 (unreleased) landed
-
Store information about range-table flattening in the final plan.
- adbad833f3d9 19 (unreleased) landed
-
Allow for plugin control over path generation strategies.
- 4020b370f214 19 (unreleased) landed
-
Allow passing a pointer to GetNamedDSMSegment()'s init callback.
- 48d4a1423d2e 19 (unreleased) cited
-
Don't reset the pathlist of partitioned joinrels.
- 014f9a831a32 19 (unreleased) cited
On Fri, 31 Oct 2025, 12:51 Robert Haas, <robertmhaas@gmail.com> wrote: > On Fri, Oct 31, 2025 at 5:59 AM Jakub Wartak > <jakub.wartak@enterprisedb.com> wrote: > > > First, any form of user control over the planner tends to be a > lightning rod for criticism around here. > > > > I do not know where this is coming from, but everybody I've talked to > > was saying this is needed to handle real enterprise databases and > > applications. I just really love it, how one could precisely adjust > > the plan with this even with the presence of heavy aliasing: > I really like the functionality of the current patch as well, even though I am suspicious of user control over the planner. By giving concise, precise control over a plan, this allows people who believe they can out-plan the planner to test their alternative, and possibly fail. Whatever other UIs and integrations you build as you develop this towards you goal, please keep what's currently there user accessible. Not only for testing code, but also for testing users' belief that they know better. Alastair