pgsql: Add json_array_elements_text function.

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Add json_array_elements_text function.
Date: 2014-01-29 20:51:26
Message-ID: E1W8c6Y-0002gw-Ev@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Add json_array_elements_text function.

This was a notable omission from the json functions added in 9.3 and
there have been numerous complaints about its absence.

Laurence Rowe.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/5264d9154178d3aeaa0359b43a450298a7ce7281

Modified Files
--------------
doc/src/sgml/func.sgml | 21 +++++++++++
src/backend/utils/adt/jsonfuncs.c | 67 ++++++++++++++++++++++++++++------
src/include/catalog/pg_proc.h | 2 +
src/include/utils/json.h | 1 +
src/test/regress/expected/json.out | 34 +++++++++++++++--
src/test/regress/expected/json_1.out | 34 +++++++++++++++--
src/test/regress/sql/json.sql | 6 ++-
7 files changed, 143 insertions(+), 22 deletions(-)

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2014-01-29 21:10:00 pgsql: Include planning time in EXPLAIN ANALYZE output.
Previous Message Heikki Linnakangas 2014-01-29 19:36:33 pgsql: Fix thinko in huge_tlb_pages patch.