From 3f44e3db72ad4097aae078c075a9b3cb3d6b761b Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Wed, 28 Mar 2018 08:32:43 -0400 Subject: 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 Reviewed-by: Aleksander Alekseev Reviewed-by: Nikita Glukhov --- contrib/jsonb_plpython/jsonb_plpython2u.control | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 contrib/jsonb_plpython/jsonb_plpython2u.control (limited to 'contrib/jsonb_plpython/jsonb_plpython2u.control') diff --git a/contrib/jsonb_plpython/jsonb_plpython2u.control b/contrib/jsonb_plpython/jsonb_plpython2u.control new file mode 100644 index 00000000000..d26368316b6 --- /dev/null +++ b/contrib/jsonb_plpython/jsonb_plpython2u.control @@ -0,0 +1,6 @@ +# jsonb_plpython2u extension +comment = 'transform between jsonb and plpython2u' +default_version = '1.0' +module_pathname = '$libdir/jsonb_plpython2' +relocatable = true +requires = 'plpython2u' -- cgit v1.2.3