[postgis-tickets] [SCM] PostGIS branch stable-3.3 updated. 3.3.2-29-g8ec4288dc

git at osgeo.org git at osgeo.org
Tue Mar 7 02:04:58 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.3 has been updated
       via  8ec4288dcb810d4f6ae79bc3508a244639904b53 (commit)
      from  f23f6b7d9486b1583b7414d40b68f6438dc23dee (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 8ec4288dcb810d4f6ae79bc3508a244639904b53
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.3 branch (3.3.3dev)

diff --git a/raster/rt_pg/rtpostgis.sql.in b/raster/rt_pg/rtpostgis.sql.in
index a7099e35d..ef0aa82ef 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