[postgis-tickets] [SCM] PostGIS branch master updated. 3.3.0rc2-682-g18feccc09

git at osgeo.org git at osgeo.org
Tue Mar 7 01:38:13 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, master has been updated
       via  18feccc09c64a72006c7ba09c5c9231defbdef79 (commit)
      from  d3cf06c2e0366ec1e5461b0ed50f4106cbdf44c6 (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 18feccc09c64a72006c7ba09c5c9231defbdef79
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 master branch (3.4.0dev)

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