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

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


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

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

Modified: branches/2.5/topology/topology_drop_before.sql.in
===================================================================
--- branches/2.5/topology/topology_drop_before.sql.in	2018-10-15 11:46:32 UTC (rev 16909)
+++ branches/2.5/topology/topology_drop_before.sql.in	2018-10-15 11:46:52 UTC (rev 16910)
@@ -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