mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-27 08:39:28 +08:00
dad8bed04a
PyObject returned from PySequence_GetItem() is not released. Similar code in PLyMapping_ToJsonbValue() is correct, because according to Python documentation PyList_GetItem() and PyTuple_GetItem() return a borrowed reference while PySequence_GetItem() returns new reference. contrib/jsonb_plpython is new in PostgreSQL 11, no backpatch is needed. Author: Nikita Glukhov Discussion: https://postgr.es/m/6001af16-b242-2527-bc7e-84b8a959163b%40postgrespro.ru |
||
---|---|---|
.. | ||
expected | ||
sql | ||
.gitignore | ||
jsonb_plpython2u--1.0.sql | ||
jsonb_plpython2u.control | ||
jsonb_plpython3u--1.0.sql | ||
jsonb_plpython3u.control | ||
jsonb_plpython.c | ||
jsonb_plpythonu--1.0.sql | ||
jsonb_plpythonu.control | ||
Makefile |