Remove PlannedStmt->resultRelations in favor of resultRelationRelids

Melanie Plageman <melanieplageman@gmail.com>

Commit: 39dcd10a2c493821cc88a9f8d17677507571e87d
Author: Melanie Plageman <melanieplageman@gmail.com>
Date: 2026-03-30T13:51:28Z
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

Files

Discussion