pgsql: Fix jsonb_plperl to convert Perl UV values correctly.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Fix jsonb_plperl to convert Perl UV values correctly.
Дата
Msg-id E1fV1sk-0000Ma-7O@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Fix jsonb_plperl to convert Perl UV values correctly.

Values greater than IV_MAX were incorrectly converted to SQL,
for instance ~0 would become -1 rather than 18446744073709551615
(on a 64-bit machine).

Dagfinn Ilmari Mannsåker, adjusted a bit by me

Discussion: https://postgr.es/m/d8jtvskjzzs.fsf@dalvik.ping.uio.no

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/93b6e03ab4794272986a11a427c6c391eafa5dea

Modified Files
--------------
contrib/jsonb_plperl/expected/jsonb_plperl.out  | 16 +++++++++++++++-
contrib/jsonb_plperl/expected/jsonb_plperlu.out | 16 +++++++++++++++-
contrib/jsonb_plperl/jsonb_plperl.c             | 19 ++++++++++++++++++-
contrib/jsonb_plperl/sql/jsonb_plperl.sql       | 12 ++++++++++++
contrib/jsonb_plperl/sql/jsonb_plperlu.sql      | 12 ++++++++++++
5 files changed, 72 insertions(+), 3 deletions(-)


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Fix contrib/hstore_plperl to look through scalar refs.
Следующее
От: Michael Paquier
Дата:
Сообщение: pgsql: Track new configure flags introduced for version 11 inpg_config