[postgis-tickets] [SCM] PostGIS branch stable-3.3 updated. 3.3.0-5-g70e5060f1

git at osgeo.org git at osgeo.org
Sat Sep 3 10:59:40 PDT 2022


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, stable-3.3 has been updated
       via  70e5060f1aa709c0db95333c2d997b71ce537706 (commit)
      from  87ceee0d9cd876de36db6e7e8e953757973654e8 (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 70e5060f1aa709c0db95333c2d997b71ce537706
Author: Regina Obe <lr at pcorp.us>
Date:   Sat Sep 3 13:59:35 2022 -0400

    PG15 compile error with geojson out.  References #5231 for PostGIS 3.3.1

diff --git a/NEWS b/NEWS
index c6aa40937..23d963f18 100644
--- a/NEWS
+++ b/NEWS
@@ -2,7 +2,8 @@ PostGIS 3.3.1dev
 2022/MM/DD
 
  * Bug Fix *
-  - ...
+  - #5227, typo in ST_LineLocatePoint error message (Sandro Santilli)
+  - #5231, PG15 no longer compiles because SQL/JSON removed PG upstream (Regina Obe)
 
 PostGIS 3.3.0
 2022/08/26
diff --git a/postgis/lwgeom_out_geojson.c b/postgis/lwgeom_out_geojson.c
index 44489f656..b545913d4 100644
--- a/postgis/lwgeom_out_geojson.c
+++ b/postgis/lwgeom_out_geojson.c
@@ -32,7 +32,7 @@
 #include "lwgeom_log.h"
 #include "liblwgeom.h"
 
-#if POSTGIS_PGSQL_VERSION < 150
+#if POSTGIS_PGSQL_VERSION < 170
 typedef enum					/* type categories for datum_to_json */
 {
 	JSONTYPE_NULL,				/* null, so we didn't bother to identify */
@@ -68,7 +68,7 @@ static void composite_to_json(Datum composite, StringInfo result,
 static void datum_to_json(Datum val, bool is_null, StringInfo result,
 						  JsonTypeCategory tcategory, Oid outfuncoid,
 						  bool key_scalar);
-#if POSTGIS_PGSQL_VERSION < 150
+#if POSTGIS_PGSQL_VERSION < 170
 static void json_categorize_type(Oid typoid,
 								 JsonTypeCategory *tcategory,
 								 Oid *outfuncoid);
@@ -244,7 +244,7 @@ composite_to_geojson(FunctionCallInfo fcinfo,
  * output function OID.  If the returned category is JSONTYPE_CAST, we
  * return the OID of the type->JSON cast function instead.
  */
-#if POSTGIS_PGSQL_VERSION < 150
+#if POSTGIS_PGSQL_VERSION < 170
 static void
 json_categorize_type(Oid typoid,
 					 JsonTypeCategory *tcategory,

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

Summary of changes:
 NEWS                         | 3 ++-
 postgis/lwgeom_out_geojson.c | 6 +++---
 2 files changed, 5 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list