Thread: Cube enhancements for 7.4
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
Attachment
Your patch has been added to the PostgreSQL unapplied patches list at: http://momjian.postgresql.org/cgi-bin/pgpatches I will try to apply it within the next 48 hours. --------------------------------------------------------------------------- Bruno Wolff III wrote: > 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 [ Attachment, skipping... ] > > ---------------------------(end of broadcast)--------------------------- > TIP 4: Don't 'kill -9' the postmaster -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073
Patch applied. Thanks. --------------------------------------------------------------------------- Bruno Wolff III wrote: > 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 [ Attachment, skipping... ] > > ---------------------------(end of broadcast)--------------------------- > TIP 4: Don't 'kill -9' the postmaster -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073