pgsql: Transforms for jsonb to PL/Perl

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Transforms for jsonb to PL/Perl
Date: 2018-04-03 13:52:23
Message-ID: E1f3MMJ-0006bf-B0@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(dot)bykov(at)postgrespro(dot)ru>
Reviewed-by: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
Reviewed-by: Aleksander Alekseev <a(dot)alekseev(at)postgrespro(dot)ru>
Reviewed-by: Nikita Glukhov <n(dot)gluhov(at)postgrespro(dot)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(-)

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Magnus Hagander 2018-04-03 14:42:04 pgsql: Properly use INT64_FORMAT in output
Previous Message Magnus Hagander 2018-04-03 11:58:46 pgsql: Fix for checksum validation patch