Re: Proposal to allow setting cursor options on Portals
Sami Imseih <samimseih@gmail.com>
From: Sami Imseih <samimseih@gmail.com>
To: Dave Cramer <davecramer@gmail.com>
Cc: Hannu Krosing <hannuk@google.com>, Robert Haas <robertmhaas@gmail.com>, Tom Lane <tgl@sss.pgh.pa.us>, Jelte Fennema-Nio <postgres@jeltef.nl>, Jacob Champion <jacob.champion@enterprisedb.com>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>,
Heikki Linnakangas <hlinnaka@iki.fi>
Date: 2026-03-24T01:59:11Z
Lists: pgsql-hackers
Hi, One thing that just occurred to me is why must we limit the new protocol extension to holdable cursors? PQsendBindWithCursorOptions() will work with any cursor option, Maybe it should be called "_pq_.named_portal" or perhaps better "_pq_.cursor"? -- Sami Imseih Amazon Web Services (AWS)
Commits
-
Fix distinctness check for queries with grouping sets
- f00484c170f5 19 (unreleased) cited
-
Provide for forward compatibility with future minor protocol versions.
- ae65f6066dc3 11.0 cited