[SCM] PostGIS branch stable-3.3 updated. 3.3.5-14-gd27577a09

git at osgeo.org git at osgeo.org
Wed Dec 20 07:24:52 PST 2023


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.3 has been updated
       via  d27577a093157b196af49bd400a4fb9e2dccf377 (commit)
      from  c87887fb6a941c5b802b97bd4e59772d1f8f90ac (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 d27577a093157b196af49bd400a4fb9e2dccf377
Author: Regina Obe <lr at pcorp.us>
Date:   Wed Dec 20 03:26:57 2023 -0500

    Fix for postgis raster PG 16 guc
    Closes #5648 for PostGIS 3.3.6
    patch from Ronan Dunklau

diff --git a/NEWS b/NEWS
index f64c3cff6..30cb313f4 100644
--- a/NEWS
+++ b/NEWS
@@ -14,6 +14,7 @@ Proj 6.1+, and PostgreSQL 15+.
  - #5629, Handling EMPTY components in repeated point removal (Paul Ramsey)
  - #5604, Handle distance between collections with empty elements (Paul Ramsey)
  - #5635, Handle NaN points in ST_Split (Regina Obe)
+ - #5648, postgis_raster upgrade fails on PG16 (Ronan Dunklau)
 
 
 PostGIS 3.3.5
diff --git a/libpgcommon/lwgeom_pg.c b/libpgcommon/lwgeom_pg.c
index 6af4bea39..f7f848adc 100644
--- a/libpgcommon/lwgeom_pg.c
+++ b/libpgcommon/lwgeom_pg.c
@@ -521,7 +521,7 @@ postgis_guc_find_option(const char *name)
 	 * the name field is first in config_generic.
 	 */
 #if POSTGIS_PGSQL_VERSION >= 160
-	res = (struct config_generic **) find_option((void *) &key, false, true, ERROR);
+	res = (struct config_generic **) find_option((void *) name, false, true, ERROR);
 #else
 	res = (struct config_generic **) bsearch((void *) &key,
 		 (void *) get_guc_variables(),

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

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


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list