[postgis-tickets] r15869 - There's no reason why postgis_noop should be volatile

Sandro Santilli strk at kbt.io
Mon Oct 2 04:49:32 PDT 2017


Author: strk
Date: 2017-10-02 04:49:32 -0700 (Mon, 02 Oct 2017)
New Revision: 15869

Modified:
   trunk/postgis/postgis.sql.in
Log:
There's no reason why postgis_noop should be volatile

Modified: trunk/postgis/postgis.sql.in
===================================================================
--- trunk/postgis/postgis.sql.in	2017-10-02 06:21:52 UTC (rev 15868)
+++ trunk/postgis/postgis.sql.in	2017-10-02 11:49:32 UTC (rev 15869)
@@ -1502,7 +1502,7 @@
 CREATE OR REPLACE FUNCTION postgis_noop(geometry)
 	RETURNS geometry
 	AS 'MODULE_PATHNAME', 'LWGEOM_noop'
-	LANGUAGE 'c' VOLATILE STRICT _PARALLEL
+	LANGUAGE 'c' IMMUTABLE STRICT _PARALLEL
 	COST 10;
 
 -- Availability: 2.3.0



More information about the postgis-tickets mailing list