Re: [HACKERS] Proposed patch for contrib/cube

2006-07-17 Thread Josh Berkus
Josh, > What is the general process for submitting patches? Is there a URL > someone can point me towards to learn more? Send them in an e-mail to pgsql-patches. -- --Josh Josh Berkus PostgreSQL @ Sun San Francisco ---(end of broadcast)--- TIP 9

Re: [HACKERS] Proposed patch for contrib/cube

2006-07-17 Thread Joshua Reich
Tom: Thanks for the out-of-band posting to the documentation. I think the new version (attached) addresses your issues. What is the general process for submitting patches? Is there a URL someone can point me towards to learn more? Thanks, Josh Reich Tom Lane wrote: Joshua Reich <[EMAIL PRO

Re: [HACKERS] Proposed patch for contrib/cube

2006-07-17 Thread Tom Lane
Joshua Reich <[EMAIL PROTECTED]> writes: > ... build a cube by specifying 2 arrays, one for the UR > coordinate, one for LL. > I hope people find this useful, and if so, we can add it to contrib/cube. Seems useful, but it needs work: it will fail on toasted arrays or arrays containing nulls. I'd

[HACKERS] Proposed patch for contrib/cube

2006-07-17 Thread Joshua Reich
Hi, I use the cube datatype a fair bit, and one thing I have always wanted is the ability to do this: pg=# select cube_from_arrays('{1,2,3}'::float[], '{3,5,6}'::float[]); cube_from_arrays - (1, 2, 3),(3, 5, 6) (1 row) That is - build a cube by specifying 2 arrays, one