[postgis-tickets] [SCM] PostGIS branch master updated. 2a9e136e0b65d7f8ec194c1ec5479d595c340564

git at osgeo.org git at osgeo.org
Thu Jan 30 03:47:49 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, master has been updated
       via  2a9e136e0b65d7f8ec194c1ec5479d595c340564 (commit)
      from  03af80cb3edd40af2fbcb63e27e4fa65e918df18 (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 2a9e136e0b65d7f8ec194c1ec5479d595c340564
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
    
    Closes #4632

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