pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Peter Geoghegan <pg@heroku.com>
Cc: Regina Obe <lr@pcorp.us>
Cc: pgsql-bugs <pgsql-bugs@postgresql.org>
Subject: Re: BUG #14344: string_agg(DISTINCT ..) crash
Date: Thu, 29 Sep 2016 09:20:17 -0400
Message-ID: <5760.1475155217@sss.pgh.pa.us> (raw)
In-Reply-To: <CAM3SWZQqJMHkLpg-QA02m=Y3fZ51VwpyDeL82ZbQOYAkB=YmhQ@mail.gmail.com>
References: <20160929035538.20224.39628@wrigleys.postgresql.org>
	<12479.1475122250@sss.pgh.pa.us>
	<CAM3SWZQqJMHkLpg-QA02m=Y3fZ51VwpyDeL82ZbQOYAkB=YmhQ@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

Peter Geoghegan <pg@heroku.com> writes:
> On Thu, Sep 29, 2016 at 5:10 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> Hm, works OK for me:
>> 
>> regression=# SELECT string_agg(DISTINCT state, ',' ORDER BY state)
>> FROM string_agg_crash_test;
>> string_agg
>> -------------------
>> HI,IL,KS,MA,MA,NY
>> (1 row)

> Actually, it doesn't work for you, since "MA" appears twice. :-(

Hah ... it was too late at night for me to notice that ;-)

> A fix is in the works.

So you've identified the problem and the rest of us don't need to
chase it anymore?

			regards, tom lane


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (30+ messages)  latest in thread

Message-ID: <5760.1475155217@sss.pgh.pa.us>
Permalink:  ../5760.1475155217@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/5760.1475155217@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, pg@heroku.com, lr@pcorp.us
  Subject: Re: BUG #14344: string_agg(DISTINCT ..) crash
  In-Reply-To: <5760.1475155217@sss.pgh.pa.us>
  References: <20160929035538.20224.39628@wrigleys.postgresql.org> <12479.1475122250@sss.pgh.pa.us> <CAM3SWZQqJMHkLpg-QA02m=Y3fZ51VwpyDeL82ZbQOYAkB=YmhQ@mail.gmail.com> <5760.1475155217@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox