From a2cbfc9099122e1c540fa7cec9a5c1b77ed297e0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ra=C3=BAl=20Mar=C3=ADn=20Rodr=C3=ADguez?= Date: Tue, 26 Mar 2019 14:00:13 +0000 Subject: [PATCH] Only drop old functions if they exists References #4345 git-svn-id: http://svn.osgeo.org/postgis/trunk@17359 b70326c6-7e19-0410-871a-916f4a2858ee --- postgis/postgis_drop_before.sql | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/postgis/postgis_drop_before.sql b/postgis/postgis_drop_before.sql index 0c7924eb4..290d982fe 100644 --- a/postgis/postgis_drop_before.sql +++ b/postgis/postgis_drop_before.sql @@ -68,11 +68,11 @@ DROP FUNCTION IF EXISTS ST_AsTWKB(geometry,int4,int8); DROP FUNCTION IF EXISTS ST_AsTWKB(geometry,int4,int8,boolean); -- Going from un-named to named arguments -DROP FUNCTION _st_linecrossingdirection(geometry,geometry); -DROP FUNCTION _st_orderingequals(geometry,geometry); -DROP FUNCTION st_orderingequals(geometry,geometry); -DROP FUNCTION st_askml(geometry, integer); -DROP FUNCTION st_buffer(geometry, double precision); +DROP FUNCTION IF EXISTS _st_linecrossingdirection(geometry,geometry); +DROP FUNCTION IF EXISTS _st_orderingequals(geometry,geometry); +DROP FUNCTION IF EXISTS st_orderingequals(geometry,geometry); +DROP FUNCTION IF EXISTS st_askml(geometry, integer); +DROP FUNCTION IF EXISTS st_buffer(geometry, double precision); -- Old signatures for protobuf related functions improved in 2.4.0 RC/final DROP AGGREGATE IF EXISTS ST_AsMVT(text, int4, text, anyelement); -- 2.40.0