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

From: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: lr(at)pcorp(dot)us, PostgreSQL mailing lists <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: BUG #14344: string_agg(DISTINCT ..) crash
Date: 2016-09-29 04:23:56
Message-ID: CAB7nPqTzxJwFP7gPZmQ9EBRKGDysPN7Wjs4MSgnwQM87f-KKfw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Wed, Sep 28, 2016 at 9:10 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> lr(at)pcorp(dot)us writes:
>> Let me know if you need more info or if this has already been fixed.
> regression=# SELECT string_agg(DISTINCT state, ',' ORDER BY state)
> FROM string_agg_crash_test;
> string_agg
> -------------------
> HI,IL,KS,MA,MA,NY
> (1 row)
>
> But I see no post-rc1 fixes that look like they might explain this.

No problems on OSX or Linux, but I am getting a crash on Windows
(Win7, MSVC 2010) even with latest REL9_6_STABLE. Oops.
--
Michael

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Regina Obe 2016-09-29 04:28:00 Re: BUG #14344: string_agg(DISTINCT ..) crash
Previous Message Tom Lane 2016-09-29 04:10:50 Re: BUG #14344: string_agg(DISTINCT ..) crash