[postgis-tickets] [PostGIS] #2334: Cannot upgrade from 2.0 to 2.1
PostGIS
trac at osgeo.org
Wed May 15 17:08:04 PDT 2013
#2334: Cannot upgrade from 2.0 to 2.1
-----------------------+----------------------------------------------------
Reporter: dustymugs | Owner: pramsey
Type: defect | Status: new
Priority: blocker | Milestone: PostGIS 2.1.0
Component: postgis | Version: trunk
Keywords: |
-----------------------+----------------------------------------------------
Upgrading a test database from 2.0 to 2.1 using postgis_upgrade_20_21.sql,
I get the following error message...
{{{
psql:postgis_upgrade_20_21.sql:4323: ERROR: cannot drop function
geometry_gist_sel_2d(internal,oid,internal,integer) because other objects
depend on it
DETAIL: operator &&(geometry,geometry) depends on function
geometry_gist_sel_2d(internal,oid,internal,integer)
operator class gist_geometry_ops_2d for access method gist depends on
operator &&(geometry,geometry)
HINT: Use DROP ... CASCADE to drop the dependent objects too.
}}}
If postgis/postgis_drop_before.sql is used before calling
postgis_upgrade_20_21.sql, the error goes away.
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2334>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.
More information about the postgis-tickets
mailing list