]> granicus.if.org Git - postgis/commitdiff
change ST_AsSVG(text) to explicilty list all args otherwise upgrade script fails...
authorRegina Obe <lr@pcorp.us>
Fri, 30 Dec 2011 09:06:07 +0000 (09:06 +0000)
committerRegina Obe <lr@pcorp.us>
Fri, 30 Dec 2011 09:06:07 +0000 (09:06 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@8618 b70326c6-7e19-0410-871a-916f4a2858ee

postgis/geography.sql.in.c

index 37956b006c6eb0a87c05bd2f43abef4a8fce9438..9018cddf177ed4102bcafac58834427404ab676c 100644 (file)
@@ -397,7 +397,7 @@ CREATE OR REPLACE FUNCTION ST_AsSVG(geog geography,rel int4 DEFAULT 0,maxdecimal
 -- TODO Remove in 2.0
 CREATE OR REPLACE FUNCTION ST_AsSVG(text)
        RETURNS text AS
-       $$ SELECT ST_AsSVG($1::geometry);  $$
+       $$ SELECT ST_AsSVG($1::geometry,0,15);  $$
        LANGUAGE 'SQL' IMMUTABLE STRICT;
 
 --