Re: Final Patch for GROUPING SETS

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Andrew Gierth <andrew(at)tao11(dot)riddles(dot)org(dot)uk>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Noah Misch <noah(at)leadboat(dot)com>, Heikki Linnakangas <hlinnakangas(at)vmware(dot)com>, Josh Berkus <josh(at)agliodbs(dot)com>, Andres Freund <andres(at)2ndquadrant(dot)com>, Greg Sabino Mullane <greg(at)turnstep(dot)com>, Marti Raudsepp <marti(at)juffo(dot)org>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>, Tomas Vondra <tv(at)fuzzy(dot)cz>, Atri Sharma <atri(dot)jiit(at)gmail(dot)com>
Subject: Re: Final Patch for GROUPING SETS
Date: 2014-12-23 13:48:40
Message-ID: CA+TgmoYLgenTkWH0_qrU4VoOwy_kMrsm449dyJEcnrHT8oR+cw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Dec 22, 2014 at 6:57 PM, Andrew Gierth
<andrew(at)tao11(dot)riddles(dot)org(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2014-12-23 13:54:22 Re: Proposal "VACUUM SCHEMA"
Previous Message Robert Haas 2014-12-23 13:46:40 Re: INSERT ... ON CONFLICT {UPDATE | IGNORE}