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

From Davide S
Subject Re: JSON_AGG produces extra square brakets
Date
Msg-id CAP9-eP8U0rWdb9YRBP1D9YLyqXVmUbuugHfxeWzpJh0ugKJ2Ow@mail.gmail.com
Whole thread Raw
In response to Re: JSON_AGG produces extra square brakets  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
Thank you!
Glad to have helped!

On Tue, Dec 2, 2014 at 7:40 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
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: Adrian Klaver
Date:
Subject: Re: Programmatic access to interval units
Next
From: Adrian Klaver
Date:
Subject: Re: Trying to get SSPI/JDBC working