Ticket #223 (closed defect: worksforme)
Breaking change ST_Extent returns a box3d_extent object
|Reported by:||robe||Owned by:||pramsey|
I've been testing 1.4 on some production apps for the past couple of days and ran into one breaking change.
Since our ST_Extent now returns a box3d_extent, this broke one of my custom functions that was expecting a box2d
To fix, I had to make a change to my app to accept box3d instead of box2d in the function call, but I also had to put in an auto cast
CREATE CAST (box3d_extent AS box3d)
WITH FUNCTION st_box3d_extent(box3d_extent) AS IMPLICIT;
While this is not a bug, it is something that is likely to break some applications. So I presume we should make note of it in the release notes.