Re: [BUGS] BUG #14897: Segfault on statitics SQL request

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [BUGS] BUG #14897: Segfault on statitics SQL request
Дата
Msg-id 3914.1510422100@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [BUGS] BUG #14897: Segfault on statitics SQL request  (Andres Freund <andres@anarazel.de>)
Ответы Re: [BUGS] BUG #14897: Segfault on statitics SQL request  (Andres Freund <andres@anarazel.de>)
Список pgsql-bugs
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

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [BUGS] BUG #14897: Segfault on statitics SQL request
Следующее
От: Andres Freund
Дата:
Сообщение: Re: [BUGS] BUG #14897: Segfault on statitics SQL request