agora inbox for pgsql-committers@postgresql.org
help / color / mirror / Atom feedFrom: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fixes for SPI "const Datum *" use
Date: Tue, 30 Jun 2026 12:57:48 +0000
Message-ID: <E1weY28-000mOO-3A@gemulon.postgresql.org> (raw)
Fixes for SPI "const Datum *" use
Fixup for commit 8a27d418f8f, which converted many functions to use
"const Datum *" instead of "Datum *", including some SPI functions.
For SPI_cursor_open(), the code was updated but not the documentation.
For SPI_cursor_open_with_args(), the documentation was updated but not
the code. (Possibly, these two were confused with each other.) Also,
SPI_execp() and SPI_modifytuple() were not updated, even though they
are closely related to the functions touched by the previous commit
and now look inconsistent. Fix all these.
Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://www.postgresql.org/message-id/flat/86b5162f-c472-40fa-997b-0450dece1dec%40eisentraut.org
Branch
------
REL_19_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/2fb6015f78749c3a235354acded31562414775be
Modified Files
--------------
doc/src/sgml/spi.sgml | 6 +++---
src/backend/executor/spi.c | 6 +++---
src/include/executor/spi.h | 6 +++---
3 files changed, 9 insertions(+), 9 deletions(-)
view thread (4+ messages)
Message-ID: <E1weY28-000mOO-3A@gemulon.postgresql.org>
Permalink: ../E1weY28-000mOO-3A@gemulon.postgresql.org/
Also on: postgresql.org/message-id/E1weY28-000mOO-3A@gemulon.postgresql.org
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: pgsql-committers@postgresql.org
Cc: peter@eisentraut.org, pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Fixes for SPI "const Datum *" use
In-Reply-To: <E1weY28-000mOO-3A@gemulon.postgresql.org>
* 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