]> granicus.if.org Git - postgis/commitdiff
Allow DROP (with no IF EXISTS) to end up in upgrade scripts
authorSandro Santilli <strk@keybit.net>
Sat, 22 Feb 2014 21:49:57 +0000 (21:49 +0000)
committerSandro Santilli <strk@keybit.net>
Sat, 22 Feb 2014 21:49:57 +0000 (21:49 +0000)
Fixes raster upgrade

git-svn-id: http://svn.osgeo.org/postgis/trunk@12255 b70326c6-7e19-0410-871a-916f4a2858ee

utils/postgis_proc_upgrade.pl

index fb05e3eebd9dd5537510da24369f838a9125a642..0b7836fe31054fc5440ab7ba7a0db362e5ced98d 100755 (executable)
@@ -209,8 +209,8 @@ while(<INPUT>)
        #
        # Allow through deprecations from postgis_drop.sql
        #
-       print if ( /^drop function if exists/i );
-       print if ( /^drop aggregate if exists/i );
+       print if ( /^drop function /i );
+       print if ( /^drop aggregate /i );
 
        if ( /^create or replace function/i )
        {