[COMMITTERS] pgsql: Correctly handle array pseudotypes in to_json and to_jsonb

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема [COMMITTERS] pgsql: Correctly handle array pseudotypes in to_json and to_jsonb
Дата
Msg-id E1cgZYS-0000oR-Af@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Correctly handle array pseudotypes in to_json and to_jsonb

Columns with array pseudotypes have not been identified as arrays, so
they have been rendered as strings in the json and jsonb conversion
routines. This change allows them to be rendered as json arrays, making
it possible to deal correctly with the anyarray columns in pg_stats.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/502a3832cc54c7115dacb8a2dae06f0620995ac6

Modified Files
--------------
src/backend/utils/adt/json.c        | 5 +++--
src/backend/utils/adt/jsonb.c       | 5 +++--
src/test/regress/expected/json.out  | 9 +++++++++
src/test/regress/expected/jsonb.out | 9 +++++++++
src/test/regress/sql/json.sql       | 6 ++++++
src/test/regress/sql/jsonb.sql      | 6 ++++++
6 files changed, 36 insertions(+), 4 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Robert Haas
Дата:
Сообщение: [COMMITTERS] pgsql: Pass the source text for a parallel query to the workers.
Следующее
От: Tom Lane
Дата:
Сообщение: [COMMITTERS] pgsql: Fix contrib/pg_trgm's extraction of trigrams from regularexpres