The attached patch provides cube with 4 functions for building cubes
Bruce Momjian <bruce@momjian.us>
The attached patch provides cube with 4 functions for building cubes directly from float8 values. (As opposed to converting the values to strings and then parsing the strings.) The functions are: cube(float8) returns cube cube(float8,float8) returns cube cube(cube,float8) returns cube cube(cube,float8,float8) returns cube Bruno Wolff III
Files
| Path | Change | +/− |
|---|---|---|
| contrib/cube/cube.c | modified | +82 −3 |
| contrib/cube/cube.sql.in | modified | +16 −0 |
| contrib/cube/expected/cube.out | modified | +68 −14 |
| contrib/cube/README.cube | modified | +21 −0 |
| contrib/cube/sql/cube.sql | modified | +18 −0 |