Re: BUG #14344: string_agg(DISTINCT ..) crash

From: Peter Geoghegan <pg(at)heroku(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Heikki Linnakangas <hlinnaka(at)iki(dot)fi>, David Rowley <david(dot)rowley(at)2ndquadrant(dot)com>, Michael Paquier <michael(dot)paquier(at)gmail(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com>, Regina Obe <lr(at)pcorp(dot)us>, PostgreSQL mailing lists <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: BUG #14344: string_agg(DISTINCT ..) crash
Date: 2016-10-26 18:44:24
Message-ID: CAM3SWZTaXr-XcoMS0Nmmf8LHuctyUER50vZh7q5SgP6xuHjS8A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Mon, Oct 17, 2016 at 6:29 PM, Peter Geoghegan <pg(at)heroku(dot)com> wrote:
> 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.

I've put this off until I can get some buy-in from Heikki about a more
general issue with "should_free" arguments in tuplesort.c [1].

[1] https://www.postgresql.org/message-id/CAM3SWZQWZZ_N=DmmL7tKy_OUjGH_5mN=N=A6h7kHyyDvEhg2DA@mail.gmail.com
--
Peter Geoghegan

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message James Parks 2016-10-26 19:21:49 AfterTriggerSaveEvent() Error on altered foreign key cascaded delete
Previous Message Tom Lane 2016-10-26 16:41:17 Re: Compilation of timezone source with zic fails (on mountpoint)