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

Sandro Santilli strk at kbt.io
Mon Oct 15 04:46:32 PDT 2018


Author: strk
Date: 2018-10-15 04:46:32 -0700 (Mon, 15 Oct 2018)
New Revision: 16909

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

Modified: trunk/topology/topology_drop_before.sql.in
===================================================================
--- trunk/topology/topology_drop_before.sql.in	2018-10-15 11:31:58 UTC (rev 16908)
+++ trunk/topology/topology_drop_before.sql.in	2018-10-15 11:46:32 UTC (rev 16909)
@@ -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