From: Melanie Plageman <melanieplageman@gmail.com>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Remove PlannedStmt->resultRelations in favor of resultRelationRe
Date: Mon, 30 Mar 2026 13:53:33 +0000
Message-ID: <E1w7D3c-0029mV-2n@gemulon.postgresql.org> (raw)
Remove PlannedStmt->resultRelations in favor of resultRelationRelids
PlannedStmt->resultRelations was an integer list of range table indexes
because at the time it was added (to Query), the Bitmapset data type did
not yet exist in Postgres.
0f4c170cf3b added a Bitmapset of result relations, so remove the integer
list of RTIs and use the more compact resultRelationRelids.
Discussion: https://postgr.es/m/CAApHDvqAOeOwCKh9g0gfxWa040%3DHyc7_oA%3DC59rjod8kXJDWyw%40mail.gmail.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/39dcd10a2c493821cc88a9f8d17677507571e87d
Modified Files
--------------
contrib/pg_overexplain/pg_overexplain.c | 5 +++--
src/backend/executor/execParallel.c | 1 -
src/backend/executor/execUtils.c | 2 +-
src/backend/optimizer/plan/planner.c | 1 -
src/include/nodes/plannodes.h | 4 ----
5 files changed, 4 insertions(+), 9 deletions(-)
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: melanieplageman@gmail.com, pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Remove PlannedStmt->resultRelations in favor of resultRelationRe
In-Reply-To: <E1w7D3c-0029mV-2n@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 DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox