forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitec8f692
committed
Fix alignment of GIN in-line posting lists stored in entry tuples.
The Sparc machines in the buildfarm are crashing because of misalignedaccess to posting lists stored in entry tuples.I accidentally removed a critical SHORTALIGN() from ginFormTuple, as partof the packed posting lists patch. Perhaps I thought it was unnecessary,because the index_form_tuple() call above the SHORTALIGN already alignedthe size, missing the fact that the null-category byte makes it misalignedagain (I think the SHORTALIGN is indeed unnecessary if there's no null-category byte, but let's just play it safe...)1 parent0fdb2f7 commitec8f692
1 file changed
+2
-0
lines changedLines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
87 | 87 |
| |
88 | 88 |
| |
89 | 89 |
| |
| 90 | + | |
| 91 | + | |
90 | 92 |
| |
91 | 93 |
| |
92 | 94 |
| |
|
0 commit comments
Comments
(0)