From: Regina Obe Date: Fri, 30 Dec 2011 15:52:15 +0000 (+0000) Subject: quickly change the options name arg to agree with ST_AsGML docs X-Git-Tag: 2.0.0alpha1~253 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f7c1e696945d2cfff20b78c928d6e54f0aefc6e1;p=postgis quickly change the options name arg to agree with ST_AsGML docs git-svn-id: http://svn.osgeo.org/postgis/trunk@8622 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/doc/reference_output.xml b/doc/reference_output.xml index eb030e099..452f7faa1 100644 --- a/doc/reference_output.xml +++ b/doc/reference_output.xml @@ -872,7 +872,7 @@ SELECT ST_AsGML(3, ST_GeomFromEWKT('POLYHEDRALSURFACE( ((0 0 0, 0 0 1, 0 1 1, 0 text ST_AsX3D geometry g1 integer prec=15 - integer opts=0 + integer options=0 diff --git a/postgis/postgis.sql.in.c b/postgis/postgis.sql.in.c index 6fac997b1..8da1aaddf 100644 --- a/postgis/postgis.sql.in.c +++ b/postgis/postgis.sql.in.c @@ -4769,8 +4769,8 @@ CREATE OR REPLACE FUNCTION _ST_AsX3D(int4, geometry, int4, int4, text) AS 'MODULE_PATHNAME','LWGEOM_asX3D' LANGUAGE 'C' IMMUTABLE; --- ST_AsX3D(geom, precision) -CREATE OR REPLACE FUNCTION ST_AsX3D(geom geometry, prec integer DEFAULT 15, opts integer DEFAULT 0) +-- ST_AsX3D(geom, precision, options) +CREATE OR REPLACE FUNCTION ST_AsX3D(geom geometry, prec integer DEFAULT 15, options integer DEFAULT 0) RETURNS TEXT AS $$SELECT _ST_AsX3D(3,$1,$2,$3,'');$$ LANGUAGE 'sql' IMMUTABLE;