Show
Ignore:
Timestamp:
04/12/09 03:56:33 (3 years ago)
Author:
mcayland
Message:

Fix bug #148 'envelope() doesn't support new box3d_extent type'. Looks like we do need to add casts for box3d_extent to all of box2dfloaat, box3d and geometry after all.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/postgis/postgis.sql.in.c

    r3939 r3993  
    360360        LANGUAGE 'C' _IMMUTABLE_STRICT; -- WITH (isstrict,iscachable); 
    361361 
     362CREATEFUNCTION ST_geometry(box3d_extent) 
     363        RETURNS geometry 
     364        AS 'MODULE_PATHNAME','BOX3D_to_LWGEOM' 
     365        LANGUAGE 'C' _IMMUTABLE_STRICT; -- WITH (isstrict,iscachable); 
    362366-- End of temporary hack 
    363367 
     
    36723676CREATE CAST (box3d_extent AS box3d) WITH FUNCTION ST_box3d_extent(box3d_extent) AS IMPLICIT; 
    36733677CREATE CAST (box3d_extent AS box2d) WITH FUNCTION ST_box2d(box3d_extent) AS IMPLICIT; 
     3678CREATE CAST (box3d_extent AS geometry) WITH FUNCTION ST_geometry(box3d_extent) AS IMPLICIT; 
    36743679 
    36753680---------------------------------------------------------------