From: Regina Obe Date: Fri, 2 Mar 2012 14:05:59 +0000 (+0000) Subject: #1630 -- this has got to be a bug in the PostgreSQL extensions model that I have... X-Git-Tag: 2.0.0beta2~45 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9e2d550db2df23395b3f070869ec5c45002a008c;p=postgis #1630 -- this has got to be a bug in the PostgreSQL extensions model that I have to drop dependent types of views and types from extension when drop view and type. Will confirm later. git-svn-id: http://svn.osgeo.org/postgis/trunk@9382 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/extensions/postgis/sql_bits/remove_from_extension.sql.in b/extensions/postgis/sql_bits/remove_from_extension.sql.in index c7ddc9fab..099ad61df 100644 --- a/extensions/postgis/sql_bits/remove_from_extension.sql.in +++ b/extensions/postgis/sql_bits/remove_from_extension.sql.in @@ -20,3 +20,5 @@ SELECT postgis_extension_remove_objects('postgis', 'FUNCTION'); SELECT postgis_extension_remove_objects('postgis', 'AGGREGATE'); SELECT postgis_extension_drop_if_exists('postgis', 'DROP VIEW raster_columns'); SELECT postgis_extension_drop_if_exists('postgis', 'DROP TYPE wktgeomval'); +SELECT postgis_extension_drop_if_exists('postgis', 'DROP TYPE _wktgeomval'); +SELECT postgis_extension_drop_if_exists('postgis', 'DROP VIEW _raster_columns');