Re: Final Patch for GROUPING SETS - Mailing list pgsql-hackers

From Robert Haas
Subject Re: Final Patch for GROUPING SETS
Date
Msg-id CA+TgmoYLgenTkWH0_qrU4VoOwy_kMrsm449dyJEcnrHT8oR+cw@mail.gmail.com
Whole thread Raw
In response to Re: Final Patch for GROUPING SETS  (Andrew Gierth <andrew@tao11.riddles.org.uk>)
List pgsql-hackers
On Mon, Dec 22, 2014 at 6:57 PM, Andrew Gierth
<andrew@tao11.riddles.org.uk> wrote:
> In the case of cube(a,b,c,d), our code currently gives:
>
> b,d,a,c:  (b,d,a,c),(b,d)
> a,b,d:    (a,b,d),(a,b)
> d,a,c:    (d,a,c),(d,a),(d)
> c,d:      (c,d),(c)
> b,c,d:    (b,c,d),(b,c),(b)
> a,c,b:    (a,c,b),(a,c),(a),()

That's pretty cool.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: INSERT ... ON CONFLICT {UPDATE | IGNORE}
Next
From: Robert Haas
Date:
Subject: Re: Proposal "VACUUM SCHEMA"