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 7035.1417545611@sss.pgh.pa.us
Whole thread Raw
In response to Re: 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:
> This is a small testcase that reproduces the problem on my machine.

Ah, I see it: json_agg_finalfn is violating the rule that an aggregate
final function can't scribble on the aggregate state.  Will fix, thanks
for the report!

            regards, tom lane


pgsql-general by date:

Previous
From: Davide S
Date:
Subject: Re: JSON_AGG produces extra square brakets
Next
From: Nelson Green
Date:
Subject: Re: Programmatic access to interval units