Improve field order in RangeTblEntry
authorPeter Eisentraut <peter@eisentraut.org>
Tue, 5 Mar 2024 12:34:43 +0000 (13:34 +0100)
committerPeter Eisentraut <peter@eisentraut.org>
Tue, 5 Mar 2024 12:34:43 +0000 (13:34 +0100)
commite03349144b00b775523f3e0ea8ef56ec2fb44b11
treeea394e01ee293878d9871dba53bcf7735d1a4934
parent0d3a71d0c8a762247cf558cf41847e599a1f5539
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
src/backend/nodes/outfuncs.c
src/backend/nodes/readfuncs.c
src/include/catalog/catversion.h
src/include/nodes/parsenodes.h