[postgis-tickets] [SCM] PostGIS branch master updated. 3.1.0alpha1-52-gd978bb4
git at osgeo.org
git at osgeo.org
Tue Apr 14 07:10:18 PDT 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 d978bb47833b42af4059680989a7fa04558f837d (commit)
from b48fb3e2272568aa6310fc26aefc69010d4f37e3 (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 d978bb47833b42af4059680989a7fa04558f837d
Author: Raúl Marín <git at rmr.ninja>
Date: Tue Apr 14 11:44:12 2020 +0200
PG13: Change #include for VARATT_EXTERNAL_GET_POINTER
PostgreSQL v13 has split "tuptoaster.h" into three files, so we
have to include "detoast.h" now.
Initial patch by Laurenz Albe
Closes #4663
diff --git a/libpgcommon/lwgeom_cache.c b/libpgcommon/lwgeom_cache.c
index 4664060..b57e6f0 100644
--- a/libpgcommon/lwgeom_cache.c
+++ b/libpgcommon/lwgeom_cache.c
@@ -12,9 +12,16 @@
#include "postgres.h"
#include "fmgr.h"
-#include "access/tuptoaster.h"
#include "../postgis_config.h"
+
+/* Include for VARATT_EXTERNAL_GET_POINTER */
+#if POSTGIS_PGSQL_VERSION < 130
+#include "access/tuptoaster.h"
+#else
+#include "access/detoast.h"
+#endif
+
#include "lwgeom_cache.h"
/*
-----------------------------------------------------------------------
Summary of changes:
libpgcommon/lwgeom_cache.c | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
hooks/post-receive
--
PostGIS
More information about the postgis-tickets
mailing list