aboutsummaryrefslogtreecommitdiff
path: root/contrib/jsonb_plpython/sql/jsonb_plpython.sql
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2019-04-06 17:54:29 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2019-04-06 17:54:29 -0400
commit9e360f0e8327bcf4b7c5ce957024fdff8f95f7de (patch)
tree711fd8b72f19017ee54e43ed8def208911441e1e /contrib/jsonb_plpython/sql/jsonb_plpython.sql
parent46e3442c9ec858071d60a1c0fae2e9868aeaa0c8 (diff)
downloadpostgresql-9e360f0e8327bcf4b7c5ce957024fdff8f95f7de.tar.gz
postgresql-9e360f0e8327bcf4b7c5ce957024fdff8f95f7de.zip
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
Diffstat (limited to 'contrib/jsonb_plpython/sql/jsonb_plpython.sql')
0 files changed, 0 insertions, 0 deletions