Re: Alignment padding bytes in arrays vs the planner

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Alignment padding bytes in arrays vs the planner
Дата
Msg-id 12444.1306261108@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Alignment padding bytes in arrays vs the planner  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: Alignment padding bytes in arrays vs the planner
Список pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> On Tue, May 24, 2011 at 2:11 PM, Noah Misch <noah@leadboat.com> wrote:
>> QTN2QT() allocates memory for a TSQuery using palloc(). �TSQuery contains an
>> array of QueryItem, which contains three bytes of padding between its first and
>> second members. �Those bytes don't get initialized, so we have unpredictable
>> content in the resulting datum.

> OK, so I guess this needs to be applied and back-patched to 8.3, then.

Yeah.  I'm in process of doing that, actually.
        regards, tom lane


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

Предыдущее
От: "David E. Wheeler"
Дата:
Сообщение: Re: Domains versus polymorphic functions, redux
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Alignment padding bytes in arrays vs the planner