public inbox for [email protected]  
help / color / mirror / Atom feed
From: Robert Haas <[email protected]>
To: [email protected]
Subject: pgsql: Pass cursorOptions to planner_setup_hook.
Date: Tue, 10 Feb 2026 16:56:28 +0000
Message-ID: <[email protected]> (raw)

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/[email protected]...

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(-)



reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: pgsql: Pass cursorOptions to planner_setup_hook.
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox