]> granicus.if.org Git - postgis/commitdiff
change to drop view if exists just in case it doesn't
authorRegina Obe <lr@pcorp.us>
Mon, 27 Apr 2015 17:43:20 +0000 (17:43 +0000)
committerRegina Obe <lr@pcorp.us>
Mon, 27 Apr 2015 17:43:20 +0000 (17:43 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@13454 b70326c6-7e19-0410-871a-916f4a2858ee

postgis/postgis_drop_before.sql

index dbaf912a00f9643b6620cae25fa4d55291b1dcc8..11fad60e69c8f713e5fc12c5e66c9c2d8fa80837 100644 (file)
@@ -66,4 +66,4 @@ DROP FUNCTION IF EXISTS ST_AsTWKB(geometry,int4);
 DROP FUNCTION IF EXISTS ST_AsTWKB(geometry,int4,int8);
 DROP FUNCTION IF EXISTS ST_AsTWKB(geometry,int4,int8,boolean);
 
-DROP VIEW geometry_columns; -- removed cast 2.2.0 so need to recreate
+DROP VIEW IF EXISTS geometry_columns; -- removed cast 2.2.0 so need to recreate