[postgis-tickets] r16912 - Only drop function IF EXISTS ...

Sandro Santilli strk at kbt.io
Mon Oct 15 04:47:36 PDT 2018


Author: strk
Date: 2018-10-15 04:47:36 -0700 (Mon, 15 Oct 2018)
New Revision: 16912

Modified:
   branches/2.3/topology/topology_drop_before.sql.in
Log:
Only drop function IF EXISTS ...

Modified: branches/2.3/topology/topology_drop_before.sql.in
===================================================================
--- branches/2.3/topology/topology_drop_before.sql.in	2018-10-15 11:47:15 UTC (rev 16911)
+++ branches/2.3/topology/topology_drop_before.sql.in	2018-10-15 11:47:36 UTC (rev 16912)
@@ -18,5 +18,5 @@
 DROP FUNCTION IF EXISTS postgis_topology_scripts_installed();
 
 -- Removed in 2.2.0 when topology API moved to liblwgeom
-DROP FUNCTION topology._ST_RemEdgeCheck(varchar, integer, integer, integer, integer);
-DROP FUNCTION topology._ST_AddFaceSplit(varchar, integer, integer, boolean);
+DROP FUNCTION IF EXISTS topology._ST_RemEdgeCheck(varchar, integer, integer, integer, integer);
+DROP FUNCTION IF EXISTS topology._ST_AddFaceSplit(varchar, integer, integer, boolean);



More information about the postgis-tickets mailing list