[postgis-tickets] [SCM] PostGIS branch stable-3.2 updated. 3.2.4-11-gbac93bda9

git at osgeo.org git at osgeo.org
Tue Mar 7 02:04:32 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.2 has been updated
       via  bac93bda9f9a0d147fbbcda34949a59e0fa7f4b7 (commit)
      from  3ce97f49f2d41a58b9e210c3378245e0d2421672 (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 bac93bda9f9a0d147fbbcda34949a59e0fa7f4b7
Author: Sandro Santilli <strk at kbt.io>
Date:   Tue Mar 7 10:31:24 2023 +0100

    Do not use SQLERRM when not defined
    
    References #5341 in 3.2 branch (3.2.5dev)

diff --git a/raster/rt_pg/rtpostgis.sql.in b/raster/rt_pg/rtpostgis.sql.in
index ae730c407..59c849048 100644
--- a/raster/rt_pg/rtpostgis.sql.in
+++ b/raster/rt_pg/rtpostgis.sql.in
@@ -7306,8 +7306,7 @@ CREATE OR REPLACE FUNCTION _add_raster_constraint_coverage_tile(rastschema name,
 		BEGIN
 			_covrast := @extschema at .ST_AsRaster(_covextent, _scalex, _scaley, '8BUI', 1, 0, NULL, NULL, _skewx, _skewy);
 			IF _covrast IS NULL THEN
-				RAISE NOTICE 'Unable to create coverage raster. Cannot add coverage tile constraint: % (%)',
-          SQLERRM, SQLSTATE;
+				RAISE NOTICE 'Unable to create coverage raster: ST_AsRaster returned NULL.';
 				RETURN FALSE;
 			END IF;
 

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

Summary of changes:
 raster/rt_pg/rtpostgis.sql.in | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list