[postgis-tickets] [SCM] PostGIS branch master updated. 3.3.0rc2-423-g36a749a54

git at osgeo.org git at osgeo.org
Fri Dec 30 19:29:56 PST 2022


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  36a749a5446827350af5e7151f0b860c6e4de0a3 (commit)
      from  ee06f41209c87366494b454f33179f56788cabc5 (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 36a749a5446827350af5e7151f0b860c6e4de0a3
Author: Regina Obe <lr at pcorp.us>
Date:   Fri Dec 30 22:26:57 2022 -0500

    PG16 fix for change in stringToQualifiedNameList
    References #5308 for PostGIS 3.4

diff --git a/libpgcommon/lwgeom_pg.c b/libpgcommon/lwgeom_pg.c
index 85f14700d..4a5a99d4f 100644
--- a/libpgcommon/lwgeom_pg.c
+++ b/libpgcommon/lwgeom_pg.c
@@ -101,7 +101,13 @@ static Oid
 postgis_get_full_version_schema()
 {
 	const char* proname = "postgis_full_version";
+
+	#if POSTGIS_PGSQL_VERSION < 160
 	List* names = stringToQualifiedNameList(proname);
+	#else
+	List* names = stringToQualifiedNameList(proname, NULL);
+	#endif
+
 	#if POSTGIS_PGSQL_VERSION < 140
 	FuncCandidateList clist = FuncnameGetCandidates(names, -1, NIL, false, false, false);
 	#else

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

Summary of changes:
 libpgcommon/lwgeom_pg.c | 6 ++++++
 1 file changed, 6 insertions(+)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list