]> granicus.if.org Git - postgis/commitdiff
Removed use of \' from raster warning message. Ticket #2383
authorBborie Park <bkpark at ucdavis.edu>
Wed, 17 Jul 2013 14:02:51 +0000 (14:02 +0000)
committerBborie Park <bkpark at ucdavis.edu>
Wed, 17 Jul 2013 14:02:51 +0000 (14:02 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@11689 b70326c6-7e19-0410-871a-916f4a2858ee

NEWS
raster/rt_pg/rtpostgis.sql.in

diff --git a/NEWS b/NEWS
index 2f2f0ed87c744cbc2549bdf618cb2c29a2dee70b..9bf157cdcb17ae693e4b1f3a6dc5a2654fcc35f2 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -17,6 +17,7 @@ PostGIS 2.2.0
  * Bug Fixes *
 
   - #2371, Support GEOS versions with more than 1 digit in micro
+  - #2383, Removed unsafe use of \' from raster warning message
 
 PostGIS 2.1.0
 2013/MM/DD
index bcafac3e927bd2425610af6b8efe5871428fcb58..c0a2b1b36167c67f47cfe4e55dcb8ecea8fe0d82 100644 (file)
@@ -4822,7 +4822,7 @@ CREATE OR REPLACE FUNCTION st_setgeoreference(rast raster, georef text, format t
                                    params[6]::float8 - (params[4]::float8 * 0.5));
         ELSE
             IF format != 'GDAL' THEN
-                RAISE WARNING E'Format \'%\' is not recognized, defaulting to GDAL format.', format;
+                RAISE WARNING 'Format ''%'' is not recognized, defaulting to GDAL format.', format;
             END IF;
             -- params array is now:
             -- {scalex, skewy, skewx, scaley, upperleftx, upperlefty}