Re: BUG #14344: string_agg(DISTINCT ..) crash - Mailing list pgsql-bugs

From Peter Geoghegan
Subject Re: BUG #14344: string_agg(DISTINCT ..) crash
Date
Msg-id CAM3SWZTa0rXKu-nZA3Jg3xn6v88apY2=SrYdBgC5ANj_XhRgxg@mail.gmail.com
Whole thread Raw
In response to Re: BUG #14344: string_agg(DISTINCT ..) crash  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: BUG #14344: string_agg(DISTINCT ..) crash
List pgsql-bugs
On Mon, Oct 17, 2016 at 6:42 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> FWIW, I think this is an appropriate solution for 9.6, but I'd favor
> changing the function's API to be like tuplestore_gettupleslot's
> in HEAD.

In light of the fact that the minimal fix has low overhead, I agree.
I've drafted a patch to do this. I expect to be able to post it in the
next few days.


--
Peter Geoghegan

pgsql-bugs by date:

Previous
From: Michael Paquier
Date:
Subject: Re: BUG #14376: How stop/cancel/break/quit the "process watcher - restoring backup on the server"
Next
From: digoal@126.com
Date:
Subject: BUG #14378: when drop schema, standby will do many more than primary, and very slow, it's a bug?