[SCM] PostGIS branch stable-3.4 updated. 3.4.2-2-g28d30004b
git at osgeo.org
git at osgeo.org
Mon Feb 12 09:20:34 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.4 has been updated
via 28d30004b7aeb457355b094ae9161bc8e34f9923 (commit)
from d739ca28b02d183fe439a01e5d072f7147d3307a (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 28d30004b7aeb457355b094ae9161bc8e34f9923
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date: Mon Feb 12 09:20:27 2024 -0800
ST_Value should return NULL on missing band, references #5649
diff --git a/NEWS b/NEWS
index bca6b6beb..4a548af07 100644
--- a/NEWS
+++ b/NEWS
@@ -7,7 +7,7 @@ To take advantage of all SFCGAL featurs, SFCGAL 1.4.1+ is needed.
* Bug Fixes *
- -
+ - #5649, ST_Value should return NULL on missing band (Paul Ramsey)
PostGIS 3.4.2
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