Andres Freund <andres@anarazel.de> writes:
> That's using SSE, which requires 16byte alignment IIRC. I think we need
> a function that properly allocate int128 vars with the right alignment -
> don't think we want to go for full 16byte alignment for everything.
Yeah, changing MAXALIGN is out of the question. I'm thinking about
another flag bit for MemoryContextAllocExtended. Do we need to think
about other use-cases besides int128? Should we just force 16-byte
alignment on all architectures, or does it need to be platform-specific?
regards, tom lane
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs