forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitb526462
committed
Avoid assuming that struct varattrib_pointer doesn't get padded by the
compiler --- at least on ARM, it does. I suspect that the varvarlena patchhas been creating larger-than-intended toast pointers all along on ARM,but it wasn't exposed until the latest tweak added some Asserts thatcalculated the expected size in a different way. We could probably havefixed this by adding __attribute__((packed)) as is done for ItemPointerData,but struct varattrib_pointer isn't really all that useful anyway, so itseems cleanest to just get rid of it and have only struct varattrib_1b_e.Per results from buildfarm member quagga.1 parentb8ce3d3 commitb526462
2 files changed
+17
-19
lines changedLines changed: 11 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
11 |
| - | |
| 11 | + | |
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
| |||
42 | 42 |
| |
43 | 43 |
| |
44 | 44 |
| |
| 45 | + | |
| 46 | + | |
| 47 | + | |
45 | 48 |
| |
46 | 49 |
| |
47 | 50 |
| |
| |||
597 | 600 |
| |
598 | 601 |
| |
599 | 602 |
| |
600 |
| - | |
| 603 | + | |
601 | 604 |
| |
602 | 605 |
| |
603 | 606 |
| |
| |||
660 | 663 |
| |
661 | 664 |
| |
662 | 665 |
| |
663 |
| - | |
| 666 | + | |
664 | 667 |
| |
665 | 668 |
| |
666 | 669 |
| |
| |||
710 | 713 |
| |
711 | 714 |
| |
712 | 715 |
| |
713 |
| - | |
| 716 | + | |
714 | 717 |
| |
715 | 718 |
| |
716 | 719 |
| |
| |||
772 | 775 |
| |
773 | 776 |
| |
774 | 777 |
| |
775 |
| - | |
| 778 | + | |
776 | 779 |
| |
777 | 780 |
| |
778 | 781 |
| |
| |||
1085 | 1088 |
| |
1086 | 1089 |
| |
1087 | 1090 |
| |
1088 |
| - | |
| 1091 | + | |
1089 | 1092 |
| |
1090 | 1093 |
| |
1091 | 1094 |
| |
| |||
1206 | 1209 |
| |
1207 | 1210 |
| |
1208 | 1211 |
| |
1209 |
| - | |
1210 |
| - | |
| 1212 | + | |
| 1213 | + | |
1211 | 1214 |
| |
1212 | 1215 |
| |
1213 | 1216 |
| |
|
Lines changed: 6 additions & 11 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
10 | 10 |
| |
11 | 11 |
| |
12 | 12 |
| |
13 |
| - | |
| 13 | + | |
14 | 14 |
| |
15 | 15 |
| |
16 | 16 |
| |
| |||
110 | 110 |
| |
111 | 111 |
| |
112 | 112 |
| |
113 |
| - | |
114 |
| - | |
115 |
| - | |
116 |
| - | |
117 |
| - | |
118 |
| - | |
119 |
| - | |
120 | 113 |
| |
121 | 114 |
| |
122 | 115 |
| |
| |||
225 | 218 |
| |
226 | 219 |
| |
227 | 220 |
| |
| 221 | + | |
| 222 | + | |
228 | 223 |
| |
229 | 224 |
| |
230 | 225 |
| |
| |||
276 | 271 |
| |
277 | 272 |
| |
278 | 273 |
| |
279 |
| - | |
280 |
| - | |
281 |
| - | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
282 | 277 |
| |
283 | 278 |
| |
284 | 279 |
| |
|
0 commit comments
Comments
(0)