[COMMITTERS] pgsql: Make json_populate_record and friends operate recursively - Mailing list pgsql-committers

From Andrew Dunstan
Subject [COMMITTERS] pgsql: Make json_populate_record and friends operate recursively
Date
Msg-id E1cwJXo-0007lU-64@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Make json_populate_record and friends operate recursively

With this change array fields are populated from json(b) arrays, and
composite fields are populated from json(b) objects.

Along the way, some significant code refactoring is done to remove
redundancy in the way to populate_record[_set] and to_record[_set]
functions operate, and some significant efficiency gains are made by
caching tuple descriptors.

Nikita Glukhov, edited some by me.

Reviewed by Aleksander Alekseev and Tom Lane.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/cf35346e813e5a1373f308d397bb0a8f3f21d530

Modified Files
--------------
doc/src/sgml/func.sgml              |   16 +-
src/backend/utils/adt/jsonfuncs.c   | 1700 ++++++++++++++++++++++++-----------
src/test/regress/expected/json.out  |  466 +++++++++-
src/test/regress/expected/jsonb.out |  478 +++++++++-
src/test/regress/sql/json.sql       |  156 +++-
src/test/regress/sql/jsonb.sql      |  156 +++-
6 files changed, 2412 insertions(+), 560 deletions(-)


pgsql-committers by date:

Previous
From: Peter Eisentraut
Date:
Subject: [COMMITTERS] pgsql: Remove use of Jade and DSSSL
Next
From: David Rowley
Date:
Subject: Re: [COMMITTERS] pgsql: Identity columns