pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter_e@gmx.net>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Transforms for jsonb to PL/Perl
Date: Tue, 03 Apr 2018 13:52:23 +0000
Message-ID: <E1f3MMJ-0006bf-B0@gemulon.postgresql.org> (raw)

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(-)



view thread (8+ messages)  latest in thread

Message-ID: <E1f3MMJ-0006bf-B0@gemulon.postgresql.org>
Permalink:  ../E1f3MMJ-0006bf-B0@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1f3MMJ-0006bf-B0@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: peter_e@gmx.net
  Subject: Re: pgsql: Transforms for jsonb to PL/Perl
  In-Reply-To: <E1f3MMJ-0006bf-B0@gemulon.postgresql.org>
  References: <E1f3MMJ-0006bf-B0@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox