postgresql_16:9.6.11.5 Notes
PostgreSQL 16 > Appendixes > Additional Supplied Modules and Extensions > cube — a multi-dimensional cube data type > Notes
For examples of usage, see the regression test sql/cube.sql.
To make it harder for people to break things, there is a limit of 100 on the number of dimensions of cubes. This is set in cubedata.h if you need something bigger.