[SCM] PostGIS branch master updated. 3.6.0rc2-484-g77c71d1e1

git at osgeo.org git at osgeo.org
Mon May 25 14:57:53 PDT 2026


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  77c71d1e18ab526a2bfd7acf3831d233ea56fbbe (commit)
      from  9db5b1e16de4b83a4eedc52ce5d60760f9801845 (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 77c71d1e18ab526a2bfd7acf3831d233ea56fbbe
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date:   Mon May 25 14:57:46 2026 -0700

    Update comments on srid_check_latlong

diff --git a/postgis/geography_inout.c b/postgis/geography_inout.c
index ad809d9bd..edd41b14f 100644
--- a/postgis/geography_inout.c
+++ b/postgis/geography_inout.c
@@ -171,7 +171,7 @@ Datum geography_in(PG_FUNCTION_ARGS)
 		lwgeom = lwg_parser_result.geom;
 	}
 
-	/* Error on any SRID != default */
+	/* Error on any non-geographic SRID */
 	srid_check_latlong(lwgeom->srid);
 
 	/* Convert to gserialized */
@@ -448,7 +448,7 @@ Datum geography_from_text(PG_FUNCTION_ARGS)
 	if ( lwgeom_parse_wkt(&lwg_parser_result, wkt, LW_PARSER_CHECK_ALL) == LW_FAILURE )
 		PG_PARSER_ERROR(lwg_parser_result);
 
-	/* Error on any SRID != default */
+	/* Error on any non-geographic SRID */
 	srid_check_latlong(lwg_parser_result.geom->srid);
 
 	/* Clean up string */
@@ -476,7 +476,7 @@ Datum geography_from_binary(PG_FUNCTION_ARGS)
 	if ( ! lwgeom )
 		lwpgerror("Unable to parse WKB");
 
-	/* Error on any SRID != default */
+	/* Error on any non-geographic SRID */
 	srid_check_latlong(lwgeom->srid);
 
 	gser = gserialized_geography_from_lwgeom(lwgeom, -1);
@@ -500,7 +500,7 @@ Datum geography_from_geometry(PG_FUNCTION_ARGS)
 		lwgeom->srid = SRID_DEFAULT;
 	}
 
-	/* Error on any SRID != default */
+	/* Error on any non-geographic SRID */
 	srid_check_latlong(lwgeom->srid);
 
 	/* Force the geometry to have valid geodetic coordinate range. */
@@ -569,7 +569,7 @@ Datum geography_recv(PG_FUNCTION_ARGS)
 		PG_RETURN_NULL();
 	}
 
-	/* Error on any SRID != default */
+	/* Error on any non-geographic SRID */
 	srid_check_latlong(lwgeom->srid);
 
 	g_ser = gserialized_geography_from_lwgeom(lwgeom, geog_typmod);

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

Summary of changes:
 postgis/geography_inout.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list