]> granicus.if.org Git - postgis/commitdiff
Make PostgreSQL 8.4 happy with the rt_polygon regression test.
authorBborie Park <bkpark at ucdavis.edu>
Mon, 30 Jul 2012 22:40:40 +0000 (22:40 +0000)
committerBborie Park <bkpark at ucdavis.edu>
Mon, 30 Jul 2012 22:40:40 +0000 (22:40 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@10143 b70326c6-7e19-0410-871a-916f4a2858ee

raster/test/regress/rt_polygon.sql

index 78ba411806d60bbfe12f38cc673cf2916f35c324..31402adbac49ba1f7139331ed8ba45e7c686fe4f 100644 (file)
@@ -27,7 +27,7 @@ DROP FUNCTION make_test_raster();
 
 CREATE OR REPLACE FUNCTION temp_geos_version()
        RETURNS float
-       AS $$ SELECT ((regexp_matches(split_part(postgis_geos_version(), '-', 1), '^([[:digit:]]+\.[[:digit:]]+)')))[1]::float $$
+       AS $$ SELECT ((regexp_matches(split_part(postgis_geos_version(), '-', 1), E'^([[:digit:]]+\.[[:digit:]]+)')))[1]::float $$
        LANGUAGE 'sql' IMMUTABLE STRICT;
 
 SELECT