]> granicus.if.org Git - postgis/commitdiff
quickly change the options name arg to agree with ST_AsGML docs
authorRegina Obe <lr@pcorp.us>
Fri, 30 Dec 2011 15:52:15 +0000 (15:52 +0000)
committerRegina Obe <lr@pcorp.us>
Fri, 30 Dec 2011 15:52:15 +0000 (15:52 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@8622 b70326c6-7e19-0410-871a-916f4a2858ee

doc/reference_output.xml
postgis/postgis.sql.in.c

index eb030e0994ebb9fb91216ae8a03d3838549dab94..452f7faa1cc7e1c8e53cf743d96030fa71a0c96c 100644 (file)
@@ -872,7 +872,7 @@ SELECT ST_AsGML(3, ST_GeomFromEWKT('POLYHEDRALSURFACE( ((0 0 0, 0 0 1, 0 1 1, 0
                                <funcdef>text <function>ST_AsX3D</function></funcdef>
                                <paramdef><type>geometry </type> <parameter>g1</parameter></paramdef>
                                <paramdef choice='opt'><type>integer </type> <parameter>prec=15</parameter></paramdef>
-                               <paramdef choice='opt'><type>integer </type> <parameter>opts=0</parameter></paramdef>
+                               <paramdef choice='opt'><type>integer </type> <parameter>options=0</parameter></paramdef>
                        </funcprototype>
            </funcsynopsis>
          </refsynopsisdiv>
index 6fac997b1a3db5611217363bb5003145c4678ba4..8da1aaddf049137502a52c2fa41104f9f8050a46 100644 (file)
@@ -4769,8 +4769,8 @@ CREATE OR REPLACE FUNCTION _ST_AsX3D(int4, geometry, int4, int4, text)
        AS 'MODULE_PATHNAME','LWGEOM_asX3D'\r
        LANGUAGE 'C' IMMUTABLE;\r
        \r
--- ST_AsX3D(geom, precision)\r
-CREATE OR REPLACE FUNCTION ST_AsX3D(geom geometry, prec integer DEFAULT 15, opts integer DEFAULT 0)\r
+-- ST_AsX3D(geom, precision, options)\r
+CREATE OR REPLACE FUNCTION ST_AsX3D(geom geometry, prec integer DEFAULT 15, options integer DEFAULT 0)\r
        RETURNS TEXT\r
        AS $$SELECT _ST_AsX3D(3,$1,$2,$3,'');$$\r
        LANGUAGE 'sql' IMMUTABLE;\r