]> granicus.if.org Git - postgresql/commit
Transforms for jsonb to PL/Python
authorPeter Eisentraut <peter_e@gmx.net>
Wed, 28 Mar 2018 12:32:43 +0000 (08:32 -0400)
committerPeter Eisentraut <peter_e@gmx.net>
Wed, 28 Mar 2018 12:37:18 +0000 (08:37 -0400)
commit3f44e3db72ad4097aae078c075a9b3cb3d6b761b
tree807ec18db75caef36a5a218fe778f53d03e698e0
parenta437551a228a5099c305d1376188d6926c043724
Transforms for jsonb to PL/Python

Add a new contrib module jsonb_plpython that provide a transform between
jsonb and PL/Python.  jsonb values are converted to appropriate Python
types such as dicts and lists, and vice versa.

Author: Anthony Bykov <a.bykov@postgrespro.ru>
Reviewed-by: Aleksander Alekseev <a.alekseev@postgrespro.ru>
Reviewed-by: Nikita Glukhov <n.gluhov@postgrespro.ru>
13 files changed:
contrib/Makefile
contrib/jsonb_plpython/.gitignore [new file with mode: 0644]
contrib/jsonb_plpython/Makefile [new file with mode: 0644]
contrib/jsonb_plpython/expected/jsonb_plpython.out [new file with mode: 0644]
contrib/jsonb_plpython/jsonb_plpython.c [new file with mode: 0644]
contrib/jsonb_plpython/jsonb_plpython2u--1.0.sql [new file with mode: 0644]
contrib/jsonb_plpython/jsonb_plpython2u.control [new file with mode: 0644]
contrib/jsonb_plpython/jsonb_plpython3u--1.0.sql [new file with mode: 0644]
contrib/jsonb_plpython/jsonb_plpython3u.control [new file with mode: 0644]
contrib/jsonb_plpython/jsonb_plpythonu--1.0.sql [new file with mode: 0644]
contrib/jsonb_plpython/jsonb_plpythonu.control [new file with mode: 0644]
contrib/jsonb_plpython/sql/jsonb_plpython.sql [new file with mode: 0644]
doc/src/sgml/json.sgml