Обсуждение: pgsql: Allow empty string object keys in json_object().

Поиск
Список
Период
Сортировка

pgsql: Allow empty string object keys in json_object().

От
Andrew Dunstan
Дата:
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
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/4ebe3519e1c12fe02f734aa00f824833181840c7

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(-)