Re: RFC: extensible planner state
Robert Haas <robertmhaas@gmail.com>
From: Robert Haas <robertmhaas@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2025-09-25T16:03:50Z
Lists: pgsql-hackers
Attachments
- v7-0004-Add-planner_setup_hook-and-planner_shutdown_hook.patch (application/octet-stream) patch v7-0004
- v7-0001-Allow-private-state-in-certain-planner-data-struc.patch (application/octet-stream) patch v7-0001
- v7-0002-Remove-PlannerInfo-s-join_search_private-method.patch (application/octet-stream) patch v7-0002
- v7-0003-Add-ExplainState-argument-to-pg_plan_query-and-pl.patch (application/octet-stream) patch v7-0003
- v7-0005-Add-extension_state-member-to-PlannedStmt.patch (application/octet-stream) patch v7-0005
- v7-0006-not-for-commit-count-distinct-joinrels-and-joinre.patch (application/octet-stream) patch v7-0006
On Wed, Sep 24, 2025 at 12:18 PM Tom Lane <tgl@sss.pgh.pa.us> wrote: > I'm good with 0001, and the release freeze is over, so push that > whenever you like. I'll try to look at the rest soon. Done now. Here's a rebase of the rest, plus I tweaked the GEQO patch to try to avoid a compiler warning that cfbot was complaining about. -- Robert Haas EDB: http://www.enterprisedb.com
Commits
-
Add extension_state member to PlannedStmt.
- 4685977cc51c 19 (unreleased) landed
-
Add planner_setup_hook and planner_shutdown_hook.
- 94f3ad3961a2 19 (unreleased) landed
-
Add ExplainState argument to pg_plan_query() and planner().
- c83ac02ec730 19 (unreleased) landed
-
Remove PlannerInfo's join_search_private method.
- 64095d157482 19 (unreleased) landed
-
Allow private state in certain planner data structures.
- 0132dddab33a 19 (unreleased) landed
-
Fix array allocation bugs in SetExplainExtensionState.
- 694057d236b1 18.1 landed
- 803ef0ed49ee 19 (unreleased) landed
-
Make it possible for loadable modules to add EXPLAIN options.
- c65bc2e1d14a 18.0 cited