[postgis-tickets] [SCM] PostGIS branch master updated. 3.3.0rc2-30-gef24fcbe1

git at osgeo.org git at osgeo.org
Sat Sep 3 10:34:07 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, master has been updated
       via  ef24fcbe142aeca85169e42a5b13f84aff92b758 (commit)
      from  d31888c038285d36b460e34773e5dddece27d585 (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 ef24fcbe142aeca85169e42a5b13f84aff92b758
Author: Regina Obe <lr at pcorp.us>
Date:   Sat Sep 3 13:34:00 2022 -0400

    Fix compile against > P15, References #5231 for PostGIS 3.4.0

diff --git a/NEWS b/NEWS
index 121188d7a..64455f774 100644
--- a/NEWS
+++ b/NEWS
@@ -2,7 +2,11 @@ PostGIS 3.4.0dev
 xxxx/xx/xx
 
 * Breaking Changes *
-- #5229, Drop support for Proj < 6.1 and PG 11 (Regina Obe)
+  - #5229, Drop support for Proj < 6.1 and PG 11 (Regina Obe)
+
+* Bug Fix *
+  - #5231, PG15 no longer compiles against PostGIS 3.2 - 3.4
+    because SQL/JSON removed 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..b4dfe16ba 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 */
@@ -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                         | 6 +++++-
 postgis/lwgeom_out_geojson.c | 4 ++--
 2 files changed, 7 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list