[postgis-tickets] [SCM] PostGIS branch stable-3.0 updated. ffe43e32af0c7b013343426d7ea457cc7902ea7b
git at osgeo.org
git at osgeo.org
Thu Jan 30 03:50:39 PST 2020
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.0 has been updated
via ffe43e32af0c7b013343426d7ea457cc7902ea7b (commit)
from 1e1e6f0c1bda1b764df07e22cb2f674d5e68b2ab (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 ffe43e32af0c7b013343426d7ea457cc7902ea7b
Author: Raúl Marín <git at rmr.ninja>
Date: Thu Jan 30 12:07:44 2020 +0100
PG13: Change include path for jsonapi.h
References #4632 for 3.0
diff --git a/postgis/lwgeom_out_geojson.c b/postgis/lwgeom_out_geojson.c
index c2e1c7d..138ddc7 100644
--- a/postgis/lwgeom_out_geojson.c
+++ b/postgis/lwgeom_out_geojson.c
@@ -1,4 +1,6 @@
+#include "../postgis_config.h"
+
/* PostgreSQL headers */
#include "postgres.h"
#include "funcapi.h"
@@ -17,12 +19,15 @@
#include "utils/datetime.h"
#include "utils/lsyscache.h"
#include "utils/json.h"
+#if POSTGIS_PGSQL_VERSION < 130
#include "utils/jsonapi.h"
+#else
+#include "common/jsonapi.h"
+#endif
#include "utils/typcache.h"
#include "utils/syscache.h"
/* PostGIS headers */
-#include "../postgis_config.h"
#include "lwgeom_pg.h"
#include "lwgeom_log.h"
#include "liblwgeom.h"
-----------------------------------------------------------------------
Summary of changes:
postgis/lwgeom_out_geojson.c | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
hooks/post-receive
--
PostGIS
More information about the postgis-tickets
mailing list