From: Bborie Park Date: Mon, 30 Jul 2012 22:40:40 +0000 (+0000) Subject: Make PostgreSQL 8.4 happy with the rt_polygon regression test. X-Git-Tag: 2.1.0beta2~729 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3a940583123047648a66ec1ac9933f7d1febf8cd;p=postgis Make PostgreSQL 8.4 happy with the rt_polygon regression test. git-svn-id: http://svn.osgeo.org/postgis/trunk@10143 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/raster/test/regress/rt_polygon.sql b/raster/test/regress/rt_polygon.sql index 78ba41180..31402adba 100644 --- a/raster/test/regress/rt_polygon.sql +++ b/raster/test/regress/rt_polygon.sql @@ -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