column. Ticket #2141
git-svn-id: http://svn.osgeo.org/postgis/trunk@10819
b70326c6-7e19-0410-871a-
916f4a2858ee
reference raster
- #2119, Rasters passed to ST_Resample(), ST_Rescale(), ST_Reskew(),
and ST_SnapToGrid() no longer require an SRID
+ - #2141, More verbose output when constraints fail to be added
+ to a raster column
* Fixes *
WHEN duplicate_object THEN
RAISE NOTICE 'The constraint "%" already exists. To replace the existing constraint, delete the constraint and call ApplyRasterConstraints again', cn;
WHEN OTHERS THEN
- RAISE NOTICE 'Unable to add constraint "%"', cn;
+ RAISE NOTICE 'Unable to add constraint: %', cn;
+ RAISE NOTICE 'SQL used for failed constraint: %', sql;
+ RAISE NOTICE 'Returned error message: %', SQLERRM;
RETURN FALSE;
END;