[postgis-tickets] r14682 - Fix function signature to CREATE OR REPLACE

Paul Ramsey pramsey at cleverelephant.ca
Wed Feb 24 08:02:26 PST 2016


Author: pramsey
Date: 2016-02-24 08:02:25 -0800 (Wed, 24 Feb 2016)
New Revision: 14682

Modified:
   trunk/postgis/postgis.sql.in
Log:
Fix function signature to CREATE OR REPLACE


Modified: trunk/postgis/postgis.sql.in
===================================================================
--- trunk/postgis/postgis.sql.in	2016-02-24 15:59:10 UTC (rev 14681)
+++ trunk/postgis/postgis.sql.in	2016-02-24 16:02:25 UTC (rev 14682)
@@ -3797,12 +3797,11 @@
 --------------------------------------------------------------------------------
 
 -- Availability: 2.3.0
-CREATE FUNCTION ST_ClusterKMeans(geom geometry, k integer)
+CREATE OR REPLACE FUNCTION ST_ClusterKMeans(geom geometry, k integer)
   RETURNS integer
   AS 'MODULE_PATHNAME', 'ST_ClusterKMeans'
   LANGUAGE 'c' VOLATILE STRICT WINDOW;
 
-
 -- Availability: 1.2.2
 CREATE OR REPLACE FUNCTION ST_Relate(geom1 geometry, geom2 geometry)
 	RETURNS text



More information about the postgis-tickets mailing list