Transforms for jsonb to PL/Perl
Add a new contrib module jsonb_plperl that provides a transform between
jsonb and PL/Perl. jsonb values are converted to appropriate Perl types
such as arrays and hashes, and vice versa.
Author: Anthony Bykov <a.bykov@postgrespro.ru>
Reviewed-by: Pavel Stehule <pavel.stehule@gmail.com>
Reviewed-by: Aleksander Alekseev <a.alekseev@postgrespro.ru>
Reviewed-by: Nikita Glukhov <n.gluhov@postgrespro.ru>
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/341e1661805879db958dde0a9ed1dc44b1bb10c3
Modified Files
--------------
contrib/Makefile | 4 +-
contrib/jsonb_plperl/.gitignore | 4 +
contrib/jsonb_plperl/Makefile | 40 ++++
contrib/jsonb_plperl/expected/jsonb_plperl.out | 211 +++++++++++++++++++
contrib/jsonb_plperl/expected/jsonb_plperlu.out | 211 +++++++++++++++++++
contrib/jsonb_plperl/jsonb_plperl--1.0.sql | 19 ++
contrib/jsonb_plperl/jsonb_plperl.c | 262 ++++++++++++++++++++++++
contrib/jsonb_plperl/jsonb_plperl.control | 6 +
contrib/jsonb_plperl/jsonb_plperlu--1.0.sql | 19 ++
contrib/jsonb_plperl/jsonb_plperlu.control | 6 +
contrib/jsonb_plperl/sql/jsonb_plperl.sql | 86 ++++++++
contrib/jsonb_plperl/sql/jsonb_plperlu.sql | 86 ++++++++
doc/src/sgml/json.sgml | 13 +-
13 files changed, 963 insertions(+), 4 deletions(-)