diff options
author | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2014-01-23 22:58:12 +0200 |
---|---|---|
committer | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2014-01-23 22:58:12 +0200 |
commit | ec8f692c3cd5760435712b7ec4afa8f014ed7b2e (patch) | |
tree | 8852a19765f7e5a2633e8d091bfafa82c0a06db5 /src/backend/access/spgist/spgdoinsert.c | |
parent | 0fdb2f7d7c0059a1621710206ed506124cf98f77 (diff) | |
download | postgresql-ec8f692c3cd5760435712b7ec4afa8f014ed7b2e.tar.gz postgresql-ec8f692c3cd5760435712b7ec4afa8f014ed7b2e.zip |
Fix alignment of GIN in-line posting lists stored in entry tuples.
The Sparc machines in the buildfarm are crashing because of misaligned
access to posting lists stored in entry tuples.
I accidentally removed a critical SHORTALIGN() from ginFormTuple, as part
of the packed posting lists patch. Perhaps I thought it was unnecessary,
because the index_form_tuple() call above the SHORTALIGN already aligned
the size, missing the fact that the null-category byte makes it misaligned
again (I think the SHORTALIGN is indeed unnecessary if there's no null-
category byte, but let's just play it safe...)
Diffstat (limited to 'src/backend/access/spgist/spgdoinsert.c')
0 files changed, 0 insertions, 0 deletions