pgsql: Transforms for jsonb to PL/Python

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема pgsql: Transforms for jsonb to PL/Python
Дата
Msg-id E1f1AMU-00031c-9N@gemulon.postgresql.org
обсуждение исходный текст
Ответы Re: pgsql: Transforms for jsonb to PL/Python  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
Список pgsql-committers
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>

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/3f44e3db72ad4097aae078c075a9b3cb3d6b761b

Modified Files
--------------
contrib/Makefile                                   |   4 +-
contrib/jsonb_plpython/.gitignore                  |   6 +
contrib/jsonb_plpython/Makefile                    |  39 ++
contrib/jsonb_plpython/expected/jsonb_plpython.out | 347 ++++++++++++++++
contrib/jsonb_plpython/jsonb_plpython.c            | 453 +++++++++++++++++++++
contrib/jsonb_plpython/jsonb_plpython2u--1.0.sql   |  19 +
contrib/jsonb_plpython/jsonb_plpython2u.control    |   6 +
contrib/jsonb_plpython/jsonb_plpython3u--1.0.sql   |  19 +
contrib/jsonb_plpython/jsonb_plpython3u.control    |   6 +
contrib/jsonb_plpython/jsonb_plpythonu--1.0.sql    |  19 +
contrib/jsonb_plpython/jsonb_plpythonu.control     |   6 +
contrib/jsonb_plpython/sql/jsonb_plpython.sql      | 218 ++++++++++
doc/src/sgml/json.sgml                             |  15 +
13 files changed, 1155 insertions(+), 2 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Etsuro Fujita
Дата:
Сообщение: Re: pgsql: Fast ALTER TABLE ADD COLUMN with a non-NULL default
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: pgsql: Transforms for jsonb to PL/Python