[postgis-tickets] r15060 - Schema qualify _ST_Vornoi calls, add old ST_Voronoi to postgis_drop_after.sql

Regina Obe lr at pcorp.us
Mon Sep 5 20:21:26 PDT 2016


Author: robe
Date: 2016-09-05 20:21:26 -0700 (Mon, 05 Sep 2016)
New Revision: 15060

Modified:
   trunk/postgis/postgis.sql.in
   trunk/postgis/postgis_drop_after.sql
Log:
Schema qualify _ST_Vornoi calls, add old ST_Voronoi to postgis_drop_after.sql
Closes #3622

Modified: trunk/postgis/postgis.sql.in
===================================================================
--- trunk/postgis/postgis.sql.in	2016-09-05 20:48:39 UTC (rev 15059)
+++ trunk/postgis/postgis.sql.in	2016-09-06 03:21:26 UTC (rev 15060)
@@ -3688,13 +3688,13 @@
 
 CREATE OR REPLACE FUNCTION ST_VoronoiPolygons(g1 geometry, tolerance float8 DEFAULT 0.0, extend_to geometry DEFAULT NULL)
        RETURNS geometry
-       AS $$ SELECT _ST_Voronoi(g1, extend_to, tolerance, true) $$
+       AS $$ SELECT @extschema at ._ST_Voronoi(g1, extend_to, tolerance, true) $$
        LANGUAGE SQL IMMUTABLE _PARALLEL
        COST 25000; -- Guessed cost
 
 CREATE OR REPLACE FUNCTION ST_VoronoiLines(g1 geometry, tolerance float8 DEFAULT 0.0, extend_to geometry DEFAULT NULL)
        RETURNS geometry
-       AS $$ SELECT _ST_Voronoi(g1, extend_to, tolerance, false) $$
+       AS $$ SELECT @extschema at ._ST_Voronoi(g1, extend_to, tolerance, false) $$
        LANGUAGE SQL IMMUTABLE _PARALLEL
        COST 25000; -- Guessed cost
 

Modified: trunk/postgis/postgis_drop_after.sql
===================================================================
--- trunk/postgis/postgis_drop_after.sql	2016-09-05 20:48:39 UTC (rev 15059)
+++ trunk/postgis/postgis_drop_after.sql	2016-09-06 03:21:26 UTC (rev 15060)
@@ -146,6 +146,7 @@
 DROP FUNCTION IF EXISTS st_geometry_cmp(geometry, geometry);
 DROP FUNCTION IF EXISTS SnapToGrid(geometry, float8, float8);
 DROP FUNCTION IF EXISTS st_removerepeatedpoints(geometry);
+DROP FUNCTION IF EXISTS st_voronoi(geometry, geometry, double precision, boolean); --temporarely introduced before 2.3.0 final
 
 DROP FUNCTION IF EXISTS geometry_gist_sel_2d (internal, oid, internal, int4);
 DROP FUNCTION IF EXISTS geometry_gist_joinsel_2d(internal, oid, internal, smallint);



More information about the postgis-tickets mailing list