Thread: pgsql: Improve field order in RangeTblEntry

pgsql: Improve field order in RangeTblEntry

From
Peter Eisentraut
Date:
Improve field order in RangeTblEntry

When perminfoindex was added, it was just added at the end of the
block.  It would make sense to keep it closer to more related fields.
In passing, also add an inline comment, like the other fields have.
(Other field reorderings and documentation improvements in
RangeTblEntry are being discussed, but it's better not to mix them
together.)

Discussion: https://www.postgresql.org/message-id/flat/6c1fbccc-85c8-40d3-b08b-4f47f2093711%40eisentraut.org

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/e03349144b00b775523f3e0ea8ef56ec2fb44b11

Modified Files
--------------
src/backend/nodes/outfuncs.c     | 2 +-
src/backend/nodes/readfuncs.c    | 2 +-
src/include/catalog/catversion.h | 2 +-
src/include/nodes/parsenodes.h   | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)