[postgis-tickets] [SCM] PostGIS branch master updated. 3.1.0alpha1-128-g957ee5d

git at osgeo.org git at osgeo.org
Mon Jun 8 09:30:25 PDT 2020


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "PostGIS".

The branch, master has been updated
       via  957ee5d51b17d5d5f841311976c2a94e8c557aa8 (commit)
      from  65095c6c0eaa188cb2b36a6274d6a9c77cf7c5ea (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 957ee5d51b17d5d5f841311976c2a94e8c557aa8
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date:   Mon Jun 8 09:30:20 2020 -0700

    Legacy ST_Locate_Between_Measures is wrong, Closes #4702

diff --git a/postgis/legacy.sql.in b/postgis/legacy.sql.in
index 6a720dd..d750541 100644
--- a/postgis/legacy.sql.in
+++ b/postgis/legacy.sql.in
@@ -2056,7 +2056,7 @@ CREATE OR REPLACE FUNCTION ST_line_locate_point(geom1 geometry, geom2 geometry)
 -- Deprecation in 2.0.0 replaced by ST_LocateBetween
 CREATE OR REPLACE FUNCTION ST_locate_between_measures(geometry, float8, float8)
 	RETURNS geometry AS
-	'SELECT ST_LocateBetween($1, $2, $2);'
+	'SELECT ST_LocateBetween($1, $2, $3);'
 	LANGUAGE 'sql' IMMUTABLE STRICT;
 
 -- Availability: 1.2.2

-----------------------------------------------------------------------

Summary of changes:
 postgis/legacy.sql.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list