I didn't see that there was a cube_distance function. The documentation is super handy, though:
cube_distance(cube, cube) returns double Returns the distance between two cubes. If both cubes are points, this is the normal distance function. I'll give it a whirl tomorrow. Chris > On Apr 13, 2014, at 9:39 PM, Guyren Howe <[email protected]> wrote: > >> On Apr 13, 2014, at 8:58 AM, Chris McCann <[email protected]> wrote: >> >> It doesn't look to me like this patch has been added to the cube extension, >> which I already loaded into Postgres hoping it would provide a solution. >> There's a discussion on the Postgres hacker board about maybe adding it to >> version 9.5 assuming all the tests and benchmarks can be properly added. > > And the standard cube extension doesn’t work for you? It implements a > distance function, so I figured it would meet your needs out of the box. > > Regards, > > Guyren G Howe > Relevant Logic LLC > > guyren-at-relevantlogic.com ~ http://relevantlogic.com ~ +1 512 784 3178 > > Ruby/Rails, Xojo, PHP programming > PostgreSQL, MySQL database design and consulting > Technical writing and training > > Read my book, Real OOP with REALbasic: > <http://relevantlogic.com/oop-book/about-the-oop-book.php> > > -- > -- > SD Ruby mailing list > [email protected] > http://groups.google.com/group/sdruby > --- > You received this message because you are subscribed to a topic in the Google > Groups "SD Ruby" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/sdruby/eIfin-w6eD4/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > For more options, visit https://groups.google.com/d/optout. -- -- SD Ruby mailing list [email protected] http://groups.google.com/group/sdruby --- You received this message because you are subscribed to the Google Groups "SD Ruby" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
