]> granicus.if.org Git - postgis/commitdiff
Fixed unescaped % in RAISE message. Ticket #2237
authorBborie Park <bkpark at ucdavis.edu>
Mon, 18 Mar 2013 00:49:14 +0000 (00:49 +0000)
committerBborie Park <bkpark at ucdavis.edu>
Mon, 18 Mar 2013 00:49:14 +0000 (00:49 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@11174 b70326c6-7e19-0410-871a-916f4a2858ee

raster/rt_pg/rtpostgis.sql.in.c

index 19d5f4417328b24fb1abbc6fefe2fb47d3814946..540f964dc062ccf30e373dd4711b2a3cc807adc8 100644 (file)
@@ -2282,7 +2282,7 @@ CREATE OR REPLACE FUNCTION st_resize(
        BEGIN
                -- range check
                IF $2 <= 0. OR $2 > 1. OR $3 <= 0. OR $3 > 1. THEN
-                       RAISE EXCEPTION 'Percentages must be a value greater than zero and less than or equal to one, e.g. 0.5 for 50%';
+                       RAISE EXCEPTION 'Percentages must be a value greater than zero and less than or equal to one, e.g. 0.5 for 50%%';
                END IF;
 
                SELECT width, height INTO _width, _height FROM ST_Metadata($1);