[SCM] PostGIS branch master updated. 3.4.0rc1-912-gfcdf1f229
git at osgeo.org
git at osgeo.org
Thu Feb 1 14:00:23 PST 2024
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 fcdf1f229798936166f8b859d4aeb76a2cf5fc39 (commit)
from ac4e90e9ed78e581899a1d3afe2226e8112818bc (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 fcdf1f229798936166f8b859d4aeb76a2cf5fc39
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date: Thu Feb 1 14:00:18 2024 -0800
Bump SRID test earlier in the function call
diff --git a/postgis/lwgeom_geos.c b/postgis/lwgeom_geos.c
index b85700d1a..4ee151cba 100644
--- a/postgis/lwgeom_geos.c
+++ b/postgis/lwgeom_geos.c
@@ -3543,6 +3543,8 @@ Datum LWGEOM_dfullywithin(PG_FUNCTION_ARGS)
PG_RETURN_NULL();
}
+ gserialized_error_if_srid_mismatch(geom1, geom2, __func__);
+
if (lwgeom_is_empty(lwg1) || lwgeom_is_empty(lwg2))
PG_RETURN_BOOL(false);
@@ -3551,8 +3553,6 @@ Datum LWGEOM_dfullywithin(PG_FUNCTION_ARGS)
initGEOS(lwpgnotice, lwgeom_geos_error);
- gserialized_error_if_srid_mismatch(geom1, geom2, __func__);
-
geos1 = LWGEOM2GEOS(lwg1, true);
geos2 = LWGEOM2GEOS(lwg2, true);
lwgeom_free(lwg1);
-----------------------------------------------------------------------
Summary of changes:
postgis/lwgeom_geos.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
hooks/post-receive
--
PostGIS
More information about the postgis-tickets
mailing list