Opened 14 years ago

Closed 13 years ago

#543 closed defect (fixed)

uninstall_postgis.sql doesn't remove operator family

Reported by: nicklas Owned by: nicklas
Priority: medium Milestone: PostGIS 2.0.0
Component: build Version: 1.5.X
Keywords: Cc:

Description

The operator families is not removed with uninstall_postgis.sql

It seems to work by just droping the families instead of the classes with cascade then all of it seems to be droped so the suggestion is to change:

DROP OPERATOR CLASS gist_geometry_ops USING gist CASCADE; DROP OPERATOR CLASS gist_geometry_ops USING gist CASCADE; to DROP OPERATOR FAMILY gist_geometry_ops USING gist CASCADE; DROP OPERATOR FAMILY gist_geometry_ops USING gist CASCADE;

and

DROP OPERATOR CLASS gist_geography_ops USING gist CASCADE; DROP OPERATOR CLASS btree_geography_ops USING btree CASCADE; to DROP OPERATOR FAMILY gist_geography_ops USING gist CASCADE; DROP OPERATOR FAMILY btree_geography_ops USING btree CASCADE;

or is that risky in any way. Should we drop both the classes and the families instead?

I guess it is the same thing with trunk and 1.4.x branch

Change History (6)

comment:1 by nicklas, 14 years ago

Owner: changed from pramsey to nicklas

comment:2 by robe, 14 years ago

Milestone: PostGIS 1.5.2PostGIS 1.4.3

comment:3 by Mike Taves, 14 years ago

Milestone: PostGIS 1.4.3PostGIS 1.5.3

comment:4 by robe, 13 years ago

Milestone: PostGIS 1.5.3PostGIS 2.0.0

comment:5 by strk, 13 years ago

Component: postgisbuild/upgrade/install

comment:6 by strk, 13 years ago

Resolution: fixed
Status: newclosed

Confirmed by new uninstall regression tester and fixed with r8510

Note: See TracTickets for help on using tickets.