| From: | Robert Haas <rhaas(at)postgresql(dot)org> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Pass cursorOptions to planner_setup_hook. |
| Date: | 2026-02-10 16:56:28 |
| Message-ID: | E1vpr2J-0000cb-0O@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
Pass cursorOptions to planner_setup_hook.
Commit 94f3ad3961a2cb32d30c79f01a70db4caff13318 failed to do this
because I couldn't think of a use for the information, but this has
proven to be short-sighted. Best to fix it before this code is
officially released.
Now, the only argument to standard_planenr that isn't passed to
planner_setup_hook is boundParams, but that is accessible via
glob->boundParams, and so doesn't need to be passed separately.
Discussion: https://www.postgresql.org/message-id/CA+TgmoYS4ZCVAF2jTce=bMP0Oq_db_srocR4cZyO0OBp9oUoGg@mail.gmail.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/0f4c8d33d49da012a04076159a008c9fa80bcc47
Modified Files
--------------
src/backend/optimizer/plan/planner.c | 3 ++-
src/include/optimizer/planner.h | 1 +
2 files changed, 3 insertions(+), 1 deletion(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Heikki Linnakangas | 2026-02-10 17:14:44 | PGPROC alignment (was Re: pgsql: Separate RecoveryConflictReasons from procsignals) |
| Previous Message | Robert Haas | 2026-02-10 16:50:02 | pgsql: Fix PGS_CONSIDER_NONPARTIAL interaction with Materialize nodes. |