/contrib/cube improvements:
Bruce Momjian <bruce@momjian.us>
/contrib/cube improvements: Update the calling convention for all external facing functions. By external facing, I mean all functions that are directly referenced in cube.sql. Prior to my update, all functions used the older V0 calling convention. They now use V1. New Functions: cube(float[]), which makes a zero volume cube from a float array cube(float[], float[]), which allows the user to create a cube from two float arrays; one for the upper right and one for the lower left coordinate. cube_subset(cube, int4[]), to allow you to reorder or choose a subset of dimensions from a cube, using index values specified in the array. Joshua Reich
Files
| Path | Change | +/− |
|---|---|---|
| contrib/cube/CHANGES | modified | +24 −0 |
| contrib/cube/cube.c | modified | +541 −185 |
| contrib/cube/cube.sql.in | modified | +13 −0 |
| contrib/cube/expected/cube.out | modified | +42 −9 |
| contrib/cube/README.cube | modified | +24 −0 |
| contrib/cube/sql/cube.sql | modified | +12 −2 |
| contrib/cube/uninstall_cube.sql | modified | +6 −0 |