[postgis-tickets] [SCM] PostGIS branch stable-3.1 updated. 3.1.8-7-ga90ca05ed

git at osgeo.org git at osgeo.org
Tue Mar 7 02:04:28 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.1 has been updated
       via  a90ca05ed440bf27e5b682bb6667460e9bab0ec4 (commit)
      from  a59282193834c36b346614238ae64c84ef6780c3 (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 a90ca05ed440bf27e5b682bb6667460e9bab0ec4
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.1 branch (3.1.9dev)

diff --git a/raster/rt_pg/rtpostgis.sql.in b/raster/rt_pg/rtpostgis.sql.in
index 5efba28a0..0e17896e4 100644
--- a/raster/rt_pg/rtpostgis.sql.in
+++ b/raster/rt_pg/rtpostgis.sql.in
@@ -7272,8 +7272,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