pgsql: Allow empty string object keys in json_object(). - Mailing list pgsql-committers

From Andrew Dunstan
Subject pgsql: Allow empty string object keys in json_object().
Date
Msg-id E1X9bxA-0006Cd-GE@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Allow empty string object keys in json_object().

This makes the behaviour consistent with the json parser, other
json-generating functions, and the JSON standards.

Branch
------
REL9_4_STABLE

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

Modified Files
--------------
src/backend/utils/adt/json.c         |    8 --------
src/test/regress/expected/json.out   |    8 ++++++--
src/test/regress/expected/json_1.out |    8 ++++++--
src/test/regress/sql/json.sql        |    2 +-
4 files changed, 13 insertions(+), 13 deletions(-)


pgsql-committers by date:

Previous
From: Noah Misch
Date:
Subject: pgsql: Diagnose incompatible OpenLDAP versions during build and test.
Next
From: Andrew Dunstan
Date:
Subject: pgsql: Allow empty string object keys in json_object().