Re: PostgreSQL 10: Segmentation fault when using GROUPING SETS withall unsortable columns - Mailing list pgsql-hackers

From Andres Freund
Subject Re: PostgreSQL 10: Segmentation fault when using GROUPING SETS withall unsortable columns
Date
Msg-id 20180319222209.fbls5xuvcdesanqs@alap3.anarazel.de
Whole thread Raw
In response to PostgreSQL 10: Segmentation fault when using GROUPING SETS with allunsortable columns  (Huong Dangminh <huo-dangminh@ys.jp.nec.com>)
List pgsql-hackers
Hi,

On 2018-03-17 23:43:22 +0000, Huong Dangminh wrote:
> Hi,
> 
> I have found a case which could get segmentation fault when using GROUPING SETS.
> It occurs when columns in GROUPING SETS are all unsortable but hashable.
> 
> Attached grouping_sets_segv.zip include module to reproduce this problem.
> 
> I think it made from below change.
> 
> https://www.postgresql.org/docs/current/static/release-10.html#id-1.11.6.8.5.3.6
> ---
> Allow hashed aggregation to be used with grouping sets (Andrew Gierth)
> ---
> https://github.com/postgres/postgres/commit/b5635948ab165b6070e7d05d111f966e07570d81

Andrew, any comments?

Regards,

Andres


pgsql-hackers by date:

Previous
From: Huong Dangminh
Date:
Subject: RE: PostgreSQL 10: Segmentation fault when using GROUPING SETS withall unsortable columns
Next
From: Tom Lane
Date:
Subject: Re: pg_get_functiondef forgets about most GUC_LIST_INPUT GUCs