[postgis-users] Missing ST_Extents after upgrade.

Jeremy Brenner jeremyjbrenner at gmail.com
Wed Mar 5 15:03:46 PST 2008


After an upgrade from postgis 1.2.1 to 1.3.2 I upgraded my gis
database using the postgis-1.3.2/lwpostgis_upgrade.sql that came in
the tarball.  However the function ST_Extent was not included in the
upgrade script.  I found the definition in postgis-1.3.2/lwpostgis.sql
and easily added it to my database.  I did not check for any other
missing functions because all of them that I use are there.

CREATE AGGREGATE ST_Extent(
        sfunc = ST_combine_bbox,
        basetype = geometry,
        stype = box2d
        );

Hope this helps somebody!

-- 
Jeremy Brenner



More information about the postgis-users mailing list