postgresql/contrib/hstore_plpython
Tom Lane 9e360f0e83 Avoid Python memory leaks in hstore_plpython and jsonb_plpython.
Fix some places where we might fail to do Py_DECREF() on a Python
object (thereby leaking it for the rest of the session).  Almost
all of the risks were in error-recovery paths, which we don't really
expect to hit anyway.  Hence, while this is definitely a bug fix,
it doesn't quite seem worth back-patching.

Nikita Glukhov, Michael Paquier, Tom Lane

Discussion: https://postgr.es/m/28053a7d-10d8-fc23-b05c-b4749c873f63@postgrespro.ru
2019-04-06 17:54:29 -04:00
..
expected Make PL/Python handle domain-type conversions correctly. 2017-11-16 16:23:04 -05:00
sql Make PL/Python handle domain-type conversions correctly. 2017-11-16 16:23:04 -05:00
.gitignore Add transforms feature 2015-04-26 10:33:14 -04:00
Makefile Fix out-of-tree build for transform modules. 2018-09-16 18:46:45 +01:00
hstore_plpython.c Avoid Python memory leaks in hstore_plpython and jsonb_plpython. 2019-04-06 17:54:29 -04:00
hstore_plpython2u--1.0.sql Convert contrib/hstore_plpython to not use direct linking to other modules. 2016-10-03 22:27:11 -04:00
hstore_plpython2u.control Add transforms feature 2015-04-26 10:33:14 -04:00
hstore_plpython3u--1.0.sql Convert contrib/hstore_plpython to not use direct linking to other modules. 2016-10-03 22:27:11 -04:00
hstore_plpython3u.control Add transforms feature 2015-04-26 10:33:14 -04:00
hstore_plpythonu--1.0.sql Convert contrib/hstore_plpython to not use direct linking to other modules. 2016-10-03 22:27:11 -04:00
hstore_plpythonu.control Add transforms feature 2015-04-26 10:33:14 -04:00