forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitbb3ecc8
committed
amcheck: MAXALIGN() nbtree special area offset.
This isn't strictly necessary, but in theory it might matter if in thefuture the width of the nbtree special area changes -- its total sizemight not be an even number of MAXALIGN() quantums, even with padding.PageInit() MAXALIGN()s all special area offsets, but amcheck uses theoffset to perform initial basic validation of line pointers, so we don'trely on the offset from the page header.The real reason to do this is to set a good example for new code thatadds amcheck coverage for other index AMs.Reported-By: Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>Discussion:https://postgr.es/m/CALj2ACUMqTR9nErh99FbOBmzCXE9=gXNqhBiwYOhejJJS1LXqQ@mail.gmail.com1 parent82c3cd9 commitbb3ecc8
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3134 | 3134 |
| |
3135 | 3135 |
| |
3136 | 3136 |
| |
3137 |
| - | |
| 3137 | + | |
3138 | 3138 |
| |
3139 | 3139 |
| |
3140 | 3140 |
| |
|
0 commit comments
Comments
(0)