Re: PostgreSQL 10: Segmentation fault when using GROUPING SETS with all unsortable columns

2018-03-20 Thread Andrew Gierth
> "Andrew" == Andrew Gierth writes: Huong> Not yet fully understand the related commit, but I think it is Huong> fine to put ERRCODE_FEATURE_NOT_SUPPORTED error from Huong> preprocess_grouping_sets when all columns in GROUPING SETS are Huong> unsortable. Is

Re: PostgreSQL 10: Segmentation fault when using GROUPING SETS with all unsortable columns

2018-03-20 Thread Andrew Gierth
> "Huong" == Huong Dangminh writes: Huong> Hi, Huong> I have found a case which could get segmentation fault when Huong> using GROUPING SETS. It occurs when columns in GROUPING SETS are Huong> all unsortable but hashable. Yes, mea culpa. will fix. BTW, you

Re: PostgreSQL 10: Segmentation fault when using GROUPING SETS with all unsortable columns

2018-03-19 Thread Andres Freund
Hi, On 2018-03-17 23:43:22 +, 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

RE: PostgreSQL 10: Segmentation fault when using GROUPING SETS with all unsortable columns

2018-03-19 Thread Huong Dangminh
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. I have added this thread to current CF. please let me know if you need more information. --- Thanks and best regards, Dang Minh