[postgis-tickets] r17302 - Fix missing function in Pg < 12 cases

Paul Ramsey pramsey at cleverelephant.ca
Fri Mar 8 08:32:35 PST 2019


Author: pramsey
Date: 2019-03-08 08:32:35 -0800 (Fri, 08 Mar 2019)
New Revision: 17302

Modified:
   trunk/postgis/geography.sql.in
Log:
Fix missing function in Pg < 12 cases


Modified: trunk/postgis/geography.sql.in
===================================================================
--- trunk/postgis/geography.sql.in	2019-03-07 23:30:19 UTC (rev 17301)
+++ trunk/postgis/geography.sql.in	2019-03-08 16:32:35 UTC (rev 17302)
@@ -823,7 +823,7 @@
 
 CREATE OR REPLACE FUNCTION ST_Intersects(geography, geography)
 	RETURNS boolean
-	AS 'SELECT $1 OPERATOR(@extschema at .&&) $2 AND @extschema at ._ST_Distance($1, $2, 0.0, false) < 0.00001'
+	AS 'SELECT $1 OPERATOR(@extschema at .&&) $2 AND @extschema at .ST_Distance($1, $2, false) < 0.00001'
 	LANGUAGE 'sql' IMMUTABLE _PARALLEL;
 
 #endif



More information about the postgis-tickets mailing list