Re: AIX support - alignment issues

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: AIX support - alignment issues
Дата
Msg-id 20220705053150.tgr5vuiq6olnx7g2@awork3.anarazel.de
обсуждение исходный текст
Ответ на AIX support - alignment issues  (Andres Freund <andres@anarazel.de>)
Ответы Re: AIX support - alignment issues  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: AIX support - alignment issues  (Peter Eisentraut <peter.eisentraut@enterprisedb.com>)
Re: AIX support - alignment issues  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
Hi,

On 2022-07-02 11:33:54 -0700, Andres Freund wrote:
> If we decide we want to continue supporting AIX we should bite the bullet and
> add a 64bit-int TYPALIGN_*. It might be worth to translate that to bytes when
> building tupledescs, so we don't need more branches (reducing them compared to
> today).

I just thought an easier way - why don't we introduce a 'catalog_double'
that's defined to be pg_attribute_aligned(whatever-we-need) on AIX? Then we
can get rid of the manually enforced alignedness and we don't need to contort
catalog order.

Greetings,

Andres Freund



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

Предыдущее
От: John Naylor
Дата:
Сообщение: Re: some aspects of our qsort might not be ideal
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: [PATCH] Add result_types column to pg_prepared_statements view