pgsql: Cleanup around json_to_record/json_to_recordset

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Cleanup around json_to_record/json_to_recordset
Date: 2014-03-26 14:22:16
Message-ID: E1WSoie-0003TN-Go@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Cleanup around json_to_record/json_to_recordset

Set function parameter names and defaults. Add jsonb versions (which the
code already provided for so the actual new code is trivial). Add jsonb
regression tests and docs.

Bump catalog version (which I apparently forgot to do when jsonb was
committed).

Branch
------
master

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

Modified Files
--------------
doc/src/sgml/func.sgml | 18 +++++++++++------
src/backend/catalog/system_views.sql | 16 +++++++++++++++
src/backend/utils/adt/jsonfuncs.c | 36 ++++++++++++++++++++++-----------
src/include/catalog/catversion.h | 2 +-
src/include/catalog/pg_proc.h | 4 ++++
src/include/utils/json.h | 2 ++
src/test/regress/expected/jsonb.out | 16 +++++++++++++++
src/test/regress/expected/jsonb_1.out | 16 +++++++++++++++
src/test/regress/sql/jsonb.sql | 8 ++++++++
9 files changed, 99 insertions(+), 19 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2014-03-26 14:22:58 pgsql: pg_upgrade: use pg_usleep(); remove Windows workaround
Previous Message Michael Paquier 2014-03-26 13:54:04 Re: pgsql: Add -f/--follow option to pg_xlogdump.