[SCM] PostGIS branch stable-3.3 updated. 3.3.6-2-g373326f16
git at osgeo.org
git at osgeo.org
Mon Feb 12 09:21:09 PST 2024
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 373326f16be126f55688bd3ead94f9eb40edefef (commit)
from 655081e7fe1d376408dd56fdb00df492a0be2d3e (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 373326f16be126f55688bd3ead94f9eb40edefef
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date: Mon Feb 12 09:21:03 2024 -0800
ST_Value should return NULL on missing band, references #5649
diff --git a/NEWS b/NEWS
index e1683ed60..8af44332d 100644
--- a/NEWS
+++ b/NEWS
@@ -3,7 +3,7 @@ xxxx/xx/xx
* Bug Fixes and Enhancements *
- -
+ - #5649, ST_Value should return NULL on missing band (Paul Ramsey)
PostGIS 3.3.6
diff --git a/raster/rt_pg/rtpg_pixel.c b/raster/rt_pg/rtpg_pixel.c
index f07fab837..965ad3e18 100644
--- a/raster/rt_pg/rtpg_pixel.c
+++ b/raster/rt_pg/rtpg_pixel.c
@@ -209,7 +209,7 @@ Datum RASTER_getPixelValueResample(PG_FUNCTION_ARGS)
/* Fetch Nth band using 0-based internal index */
band = rt_raster_get_band(raster, bandnum - 1);
if (!band) {
- elog(ERROR, "Could not find raster band of index %d when getting pixel "
+ elog(NOTICE, "Could not find raster band of index %d when getting pixel "
"value. Returning NULL", bandnum);
PG_RETURN_NULL();
}
-----------------------------------------------------------------------
Summary of changes:
NEWS | 2 +-
raster/rt_pg/rtpg_pixel.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
hooks/post-receive
--
PostGIS
More information about the postgis-tickets
mailing list