From: Regina Obe Date: Fri, 30 Dec 2011 09:06:07 +0000 (+0000) Subject: change ST_AsSVG(text) to explicilty list all args otherwise upgrade script fails... X-Git-Tag: 2.0.0alpha1~257 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c5e03e38d024d8d3148340c4024cef3253242bbc;p=postgis change ST_AsSVG(text) to explicilty list all args otherwise upgrade script fails -- since old signature exists causing ambiguous conflict during install. git-svn-id: http://svn.osgeo.org/postgis/trunk@8618 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/postgis/geography.sql.in.c b/postgis/geography.sql.in.c index 37956b006..9018cddf1 100644 --- a/postgis/geography.sql.in.c +++ b/postgis/geography.sql.in.c @@ -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; --