aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2019-07-17 14:55:13 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2019-07-17 14:55:13 -0400
commitfec0778c8098cebec2d5cb3674ac7151d8d95638 (patch)
tree49321b12298360ff7772d51ff5193565561fac3e /src/backend/access/gist
parent860c095fd548cd25586e4273e9b489082b4ffa13 (diff)
downloadpostgresql-fec0778c8098cebec2d5cb3674ac7151d8d95638.tar.gz
postgresql-fec0778c8098cebec2d5cb3674ac7151d8d95638.zip
Clarify the distinction between public and private SPITupleTable fields.
The fields that we consider public are "tupdesc" and "vals", which historically are in the middle of the struct. Move them to the front (this should be perfectly safe to do in HEAD) and add comments to make it quite clear which fields are public or not. Also adjust spi.sgml's documentation of the struct to match. That doc had bit-rotted somewhat, as it was missing some fields. (Arguably we should just remove all the private fields from the docs, but for now I refrained.) Daniel Gustafsson, reviewed by Fabien Coelho Discussion: https://postgr.es/m/0D19F836-B743-4340-B6A2-F148CA3DD1F0@yesql.se
Diffstat (limited to 'src/backend/access/gist')
0 files changed, 0 insertions, 0 deletions