Re: JSON_AGG produces extra square brakets - Mailing list pgsql-general

From Tom Lane
Subject Re: JSON_AGG produces extra square brakets
Date
Msg-id 31118.1417387274@sss.pgh.pa.us
Whole thread Raw
In response to JSON_AGG produces extra square brakets  (Davide S <swept.along.by.events@gmail.com>)
Responses Re: JSON_AGG produces extra square brakets
List pgsql-general
Davide S <swept.along.by.events@gmail.com> writes:
> Note that the tags are just fine, but the arrays with the states have an
> increasing number of square brackets at the end: the first has 1 (correct),
> the second has 2, the third has 3, etc., which is invalid json.

Could you provide a self-contained test case for that?

            regards, tom lane


pgsql-general by date:

Previous
From: John R Pierce
Date:
Subject: Re: Re: Remote PostgreSQL database - C/C++ program / Unix / Required Libraries
Next
From: "Powrie, William"
Date:
Subject: Ever increasing pg_clog disk usage v8.4