Re: JSON_AGG produces extra square brakets

From: Davide S <swept(dot)along(dot)by(dot)events(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: JSON_AGG produces extra square brakets
Date: 2014-12-02 20:32:31
Message-ID: CAP9-eP8U0rWdb9YRBP1D9YLyqXVmUbuugHfxeWzpJh0ugKJ2Ow@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Thank you!
Glad to have helped!

On Tue, Dec 2, 2014 at 7:40 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:

> Davide S <swept(dot)along(dot)by(dot)events(at)gmail(dot)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
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2014-12-02 20:40:41 Re: Trying to get SSPI/JDBC working
Previous Message Adrian Klaver 2014-12-02 20:25:20 Re: Programmatic access to interval units