[postgis-tickets] [SCM] PostGIS branch master updated. 3.3.0rc2-307-g5df627773

git at osgeo.org git at osgeo.org
Wed Nov 2 09:33:41 PDT 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  5df6277731aebc6be44782efb8065b1cdb56db8d (commit)
      from  132bf37caa0efc2f887a5e5b77c618a7def36f87 (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 5df6277731aebc6be44782efb8065b1cdb56db8d
Author: Regina Obe <lr at pcorp.us>
Date:   Wed Nov 2 12:32:21 2022 -0400

    Fix crash in PG16 on raster.
    Closes #5277 for PostGIS 3.4.0

diff --git a/NEWS b/NEWS
index f2e430462..6dfb6e337 100644
--- a/NEWS
+++ b/NEWS
@@ -6,7 +6,7 @@ xxxx/xx/xx
 
 * New Features *
   - New install-extension-upgrades command in postgis script (Sandro Santilli)
-  - #5257, #5261, Support changes for PG16 (Regina Obe)
+  - #5257, #5261, #5277, Support changes for PostgreSQL 16 (Regina Obe)
   - #5006, GH705, ST_Transform: Support PROJ pipelines (Robert Coup, Koordinates)
 
 * Enhancements *
diff --git a/raster/rt_core/rt_band.c b/raster/rt_core/rt_band.c
index fb6e65676..c46ee81f4 100644
--- a/raster/rt_core/rt_band.c
+++ b/raster/rt_core/rt_band.c
@@ -414,7 +414,7 @@ rt_band_get_data(rt_band band) {
 }
 
 /* variable for PostgreSQL GUC: postgis.enable_outdb_rasters */
-char enable_outdb_rasters = 1;
+bool enable_outdb_rasters = true;
 
 /**
 	* Load offline band's data.  Loaded data is internally owned
diff --git a/raster/rt_pg/rtpostgis.c b/raster/rt_pg/rtpostgis.c
index 08d9955df..5bbb5668c 100644
--- a/raster/rt_pg/rtpostgis.c
+++ b/raster/rt_pg/rtpostgis.c
@@ -452,8 +452,8 @@ rt_pg_vsi_check_options(char **newval, void **extra, GucSource source)
 
 static char *gdal_datapath = NULL;
 static char *gdal_vsi_options = NULL;
-extern char *gdal_enabled_drivers;
-extern bool enable_outdb_rasters;
+extern char *gdal_enabled_drivers = NULL;
+extern bool enable_outdb_rasters = false;
 
 /* ---------------------------------------------------------------- */
 /*  Useful variables                                                */

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

Summary of changes:
 NEWS                     | 2 +-
 raster/rt_core/rt_band.c | 2 +-
 raster/rt_pg/rtpostgis.c | 4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list