Re: Improper use about DatumGetInt32

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Improper use about DatumGetInt32
Дата
Msg-id a3c0e62c-2035-e178-4858-fee72c5193df@enterprisedb.com
обсуждение исходный текст
Ответ на Re: Improper use about DatumGetInt32  (Peter Eisentraut <peter.eisentraut@enterprisedb.com>)
Ответы Re: Improper use about DatumGetInt32
Список pgsql-hackers
On 2021-01-08 10:21, Peter Eisentraut wrote:
> I think on 64-bit systems it's actually safe, but on 32-bit systems
> (with USE_FLOAT8_BYVAL), if you use the new binaries with the old
> SQL-level definitions, you'd get the int4 that is passed in interpreted
> as a pointer, which would lead to very bad things.  So I think we need
> to create new functions with a different C symbol.  I'll work on that.

Updated patch that does that.

Вложения

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Proposal: Global Index
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: data_checksums enabled by default (was: Move --data-checksums to common options in initdb --help)