Re: Fix up grouping sets reorder - Mailing list pgsql-hackers

From Andrew Gierth
Subject Re: Fix up grouping sets reorder
Date
Msg-id 87wohk124q.fsf@news-spur.riddles.org.uk
Whole thread Raw
In response to Re: Fix up grouping sets reorder  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers
>>>>> "Andres" == Andres Freund <andres@anarazel.de> writes:

 >> During the reorder of grouping sets into correct prefix order, if
 >> only one aggregation pass is needed, we follow the order of the
 >> ORDER BY clause to the extent possible, to minimize the chance that
 >> we add unnecessary sorts. This is implemented in
 >> preprocess_grouping_sets --> reorder_grouping_sets.

 Andres> Thanks for finding!

 Andres> Andrew, could you take a look at that?

Yes.

-- 
Andrew (irc:RhodiumToad)



pgsql-hackers by date:

Previous
From: Stephen Frost
Date:
Subject: Re: UCT (Re: pgsql: Update time zone data files to tzdata release2019a.)
Next
From: Alexander Korotkov
Date:
Subject: Re: SQL/JSON path issues/questions