Re: pgsql: Fix portability issue in new jsonbsubs code.

Поиск
Список
Период
Сортировка
От Alexander Korotkov
Тема Re: pgsql: Fix portability issue in new jsonbsubs code.
Дата
Msg-id CAPpHfdsn-WRQYp+ivSqsuEi4_mbbJsoi-78uGh8XfabLKR7agQ@mail.gmail.com
обсуждение исходный текст
Ответ на pgsql: Fix portability issue in new jsonbsubs code.  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-committers
On Mon, Feb 1, 2021 at 10:04 AM Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Fix portability issue in new jsonbsubs code.
>
> On machines where sizeof(Datum) > sizeof(Oid) (that is, any 64-bit
> platform), the previous coding would compute a misaligned
> workspace->index pointer if nupper is odd.  Architectures where
> misaligned access is a hard no-no would then fail.  This appears
> to explain why thorntail is unhappy but other buildfarm members
> are not.

Thank you for fixing this!

------
Regards,
Alexander Korotkov



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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: pgsql: Introduce --with-ssl={openssl} as a configure option
Следующее
От: Alexander Korotkov
Дата:
Сообщение: pgsql: Get rid of unnecessary memory allocation in jsonb_subscript_assi