[SCM] PostGIS branch master updated. 3.4.0rc1-924-g595a67e52
git at osgeo.org
git at osgeo.org
Mon Feb 12 09:13:56 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, master has been updated
via 595a67e5290d058614aed3207e7b717c1c962284 (commit)
from 5560fb5cd14162a2d170a464f9e2b13e8998b1f7 (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 595a67e5290d058614aed3207e7b717c1c962284
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date: Mon Feb 12 09:13:50 2024 -0800
Raise a notice, not an error, when unable to read a band, and return NULL, references #5649
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:
raster/rt_pg/rtpg_pixel.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
hooks/post-receive
--
PostGIS
More information about the postgis-tickets
mailing list