[postgis-users] box2d return from function!
Mark Cave-Ayland
mark.cave-ayland at siriusit.co.uk
Fri Jun 27 01:46:02 PDT 2008
Dan Erikson wrote:
> Quick question here.....might be easy for someone who has done this:
>
> I want to return an extent (box2d) from a plpgsql function. I can
> define "box2d" as a type within the function, but only "box" in the
> function return type or the out variable type. Apparently I can't cast
> from "box2d" to "box" either.
>
> It is possible I am approaching this all wrong. Is there an easier way
> to return the results of an extent query?
>
> (Postgresql 8.2)
>
>
> Dan Erikson BNRSc
> Project Manager
Yeah, I spotted this a while back :( Unfortunately changing it in the
1.3.x series will probably break a lot of applications, so the earliest
it will happen is somewhere in 1.4.
ATB,
Mark.
--
Mark Cave-Ayland
Sirius Corporation - The Open Source Experts
http://www.siriusit.co.uk
T: +44 870 608 0063
More information about the postgis-users
mailing list