aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor
diff options
context:
space:
mode:
authorPeter Geoghegan <pg@bowt.ie>2021-04-23 15:37:03 -0700
committerPeter Geoghegan <pg@bowt.ie>2021-04-23 15:37:03 -0700
commitbb3ecc8c961896ecb2ad3d5ba705c2877b933945 (patch)
tree518f5a95cbf36a9df3c05e45771e08785deea50f /src/backend/executor
parent82c3cd974131d7fa1cfcd07cebfb04fffe26ee35 (diff)
downloadpostgresql-bb3ecc8c961896ecb2ad3d5ba705c2877b933945.tar.gz
postgresql-bb3ecc8c961896ecb2ad3d5ba705c2877b933945.zip
amcheck: MAXALIGN() nbtree special area offset.
This isn't strictly necessary, but in theory it might matter if in the future the width of the nbtree special area changes -- its total size might not be an even number of MAXALIGN() quantums, even with padding. PageInit() MAXALIGN()s all special area offsets, but amcheck uses the offset to perform initial basic validation of line pointers, so we don't rely on the offset from the page header. The real reason to do this is to set a good example for new code that adds amcheck coverage for other index AMs. Reported-By: Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com> Discussion: https://postgr.es/m/CALj2ACUMqTR9nErh99FbOBmzCXE9=gXNqhBiwYOhejJJS1LXqQ@mail.gmail.com
Diffstat (limited to 'src/backend/executor')
0 files changed, 0 insertions, 0 deletions