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