[HACKERS] Json support for array pseudotypes - Mailing list pgsql-hackers

From Andrew Dunstan
Subject [HACKERS] Json support for array pseudotypes
Date
Msg-id e6682798-9b54-6f86-1f42-894633721216@2ndQuadrant.com
Whole thread Raw
Responses Re: [HACKERS] Json support for array pseudotypes
List 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

Attachment

pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: [HACKERS] Proposal : For Auto-Prewarm.
Next
From: Jeff Janes
Date:
Subject: Re: [HACKERS] safer node casting