[HACKERS] Json support for array pseudotypes

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема [HACKERS] Json support for array pseudotypes
Дата
Msg-id e6682798-9b54-6f86-1f42-894633721216@2ndQuadrant.com
обсуждение исходный текст
Ответы Re: [HACKERS] Json support for array pseudotypes  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
The attached tiny patch lets the to_json(b) routines convert objects
with array pseudotypes to json{b}. The main impetus for this came from
my trying to convert the annyarray columns in pg_stats to json and
finding that they ended up as text instead of json arrays. This way
to_json on these columns does what is expected.


cheers


andrew

-- 

Andrew Dunstan                https://www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Вложения

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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: [HACKERS] Proposal : For Auto-Prewarm.
Следующее
От: Jeff Janes
Дата:
Сообщение: Re: [HACKERS] safer node casting