Re: Ensuring hash tuples are properly maxaligned

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Ensuring hash tuples are properly maxaligned
Дата
Msg-id 18676.1514944157@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Ensuring hash tuples are properly maxaligned  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
Andres Freund <andres@anarazel.de> writes:
> On 2018-01-02 20:40:50 -0500, Tom Lane wrote:
>> OK, then there's not a live bug, but I'm a bit tempted to get rid of
>> the data[] member anyway.  It's not clear to me now that keeping it
>> results in net cleaner code.  Thoughts?

> I like that plan. I don't think the data field buys us anything, and I
> personally in most cases find "fully manual" alignment code easier to
> reason about than fiddling with padding fields.

Agreed --- I'll go do that.

            regards, tom lane


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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: Ensuring hash tuples are properly maxaligned
Следующее
От: Noah Misch
Дата:
Сообщение: Re: Contributing with code