Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bpSgX-0006gQ-Av for pgsql-bugs@arkaria.postgresql.org; Thu, 29 Sep 2016 04:11:01 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bpSgW-0001n1-LN for pgsql-bugs@arkaria.postgresql.org; Thu, 29 Sep 2016 04:11:00 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bpSgV-0001mo-1e for pgsql-bugs@postgresql.org; Thu, 29 Sep 2016 04:10:59 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bpSgN-0001mt-S7 for pgsql-bugs@postgresql.org; Thu, 29 Sep 2016 04:10:57 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id u8T4AoqS012480; Thu, 29 Sep 2016 00:10:50 -0400 From: Tom Lane To: lr@pcorp.us cc: pgsql-bugs@postgresql.org Subject: Re: BUG #14344: string_agg(DISTINCT ..) crash In-reply-to: <20160929035538.20224.39628@wrigleys.postgresql.org> References: <20160929035538.20224.39628@wrigleys.postgresql.org> Comments: In-reply-to lr@pcorp.us message dated "Thu, 29 Sep 2016 03:55:38 -0000" Date: Thu, 29 Sep 2016 00:10:50 -0400 Message-ID: <12479.1475122250@sss.pgh.pa.us> X-Pg-Spam-Score: -4.9 (----) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org lr@pcorp.us writes: > Let me know if you need more info or if this has already been fixed. 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) But I see no post-rc1 fixes that look like they might explain this. 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