[SCM] PostGIS branch master updated. 3.4.0rc1-1244-gdbd47ecee
git at osgeo.org
git at osgeo.org
Tue Jul 2 23:03:09 PDT 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 dbd47ecee044475d885dbf5366078e230ee67ddb (commit)
from 8b20f6b962b8fd00dda72cb041827a02a7fdf1b5 (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 dbd47ecee044475d885dbf5366078e230ee67ddb
Author: Regina Obe <lr at pcorp.us>
Date: Wed Jul 3 01:16:17 2024 -0400
Change all the POSTGIS_PGSQL_VERSION < 180
to < 190
Note master just flipped to PG18 and PG18
does not have these functions exposed yet and may never
Will investigate later.
Closes #5757
diff --git a/postgis/lwgeom_out_geojson.c b/postgis/lwgeom_out_geojson.c
index 530ca6559..f3fa046df 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 < 180
+#if POSTGIS_PGSQL_VERSION < 190
typedef enum /* type categories for datum_to_json */
{
JSONTYPE_NULL, /* null, so we didn't bother to identify */
@@ -69,7 +69,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 < 180
+#if POSTGIS_PGSQL_VERSION < 190
static void json_categorize_type(Oid typoid,
JsonTypeCategory *tcategory,
Oid *outfuncoid);
@@ -283,7 +283,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 < 180
+#if POSTGIS_PGSQL_VERSION < 190
static void
json_categorize_type(Oid typoid,
JsonTypeCategory *tcategory,
-----------------------------------------------------------------------
Summary of changes:
postgis/lwgeom_out_geojson.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
hooks/post-receive
--
PostGIS
More information about the postgis-tickets
mailing list