[postgis-tickets] [SCM] PostGIS branch stable-3.1 updated. 3.1.1-36-g26544e6

git at osgeo.org git at osgeo.org
Sun Jun 13 21:07:53 PDT 2021


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.1 has been updated
       via  26544e64c60ad1271297721bdba18eaff1148736 (commit)
      from  77f5ce422e848e9a2d8c9400cede8ddd0265f949 (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 26544e64c60ad1271297721bdba18eaff1148736
Author: Regina Obe <lr at pcorp.us>
Date:   Mon Jun 14 00:07:47 2021 -0400

    Fix PG14 compile FuncnameGetCandidates closes #4927 for PostGIS 3.1.3

diff --git a/NEWS b/NEWS
index 40e3778..80f620e 100644
--- a/NEWS
+++ b/NEWS
@@ -1,6 +1,13 @@
-PostGIS 3.1.2
+PostGIS 3.1.3
 2021/xx/xx
 
+* Bug Fixes
+  - #4927, Fix PostgreSQL 14 compile FuncnameGetCandidates changes
+           (Regina Obe, Julien Rouhaud)
+
+PostGIS 3.1.2
+2021/05/21
+
  * Bug Fixes
 
   - #4871, TopoGeometry::geometry cast returns NULL for empty
diff --git a/libpgcommon/lwgeom_pg.c b/libpgcommon/lwgeom_pg.c
index 5629e93..6243fca 100644
--- a/libpgcommon/lwgeom_pg.c
+++ b/libpgcommon/lwgeom_pg.c
@@ -118,7 +118,11 @@ postgis_get_full_version_schema()
 {
 	const char* proname = "postgis_full_version";
 	List* names = stringToQualifiedNameList(proname);
+	#if POSTGIS_PGSQL_VERSION < 140
 	FuncCandidateList clist = FuncnameGetCandidates(names, -1, NIL, false, false, false);
+	#else
+	FuncCandidateList clist = FuncnameGetCandidates(names, -1, NIL, false, false, false, false);
+	#endif
 	if (!clist)
 		return InvalidOid;
 

-----------------------------------------------------------------------

Summary of changes:
 NEWS                    | 9 ++++++++-
 libpgcommon/lwgeom_pg.c | 4 ++++
 2 files changed, 12 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list