diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2008-02-29 17:47:41 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2008-02-29 17:47:41 +0000 |
commit | c67f6f2f573064c206044b44a73cdf0806dfbd4e (patch) | |
tree | 043e7f28413987e5e856f1fdbc1912dabdab78cd /src/backend/utils/adt/arrayfuncs.c | |
parent | 2d2b0222677fb00b09ee724127a6643c3d451af3 (diff) | |
download | postgresql-c67f6f2f573064c206044b44a73cdf0806dfbd4e.tar.gz postgresql-c67f6f2f573064c206044b44a73cdf0806dfbd4e.zip |
Reducing the assumed alignment of struct varlena means that the compiler
is also licensed to put a local variable declared that way at an unaligned
address. Which will not work if the variable is then manipulated with
SET_VARSIZE or other macros that assume alignment. So the previous patch
is not an unalloyed good, but on balance I think it's still a win, since
we have very few places that do that sort of thing. Fix the one place in
tuptoaster.c that does it. Per buildfarm results from gypsy_moth
(I'm a bit surprised that only one machine showed a failure).
Diffstat (limited to 'src/backend/utils/adt/arrayfuncs.c')
0 files changed, 0 insertions, 0 deletions