<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>
</funcprototype>
</funcsynopsis>
</refsynopsisdiv>
LANGUAGE 'C' IMMUTABLE;\r
\r
-- ST_AsX3D(geom, precision)\r
-CREATE OR REPLACE FUNCTION ST_AsX3D(geom geometry, prec integer DEFAULT 15)\r
+CREATE OR REPLACE FUNCTION ST_AsX3D(geom geometry, prec integer DEFAULT 15, opts integer DEFAULT 0)\r
RETURNS TEXT\r
- AS $$SELECT _ST_AsX3D(3,$1,$2,1,'');$$\r
+ AS $$SELECT _ST_AsX3D(3,$1,$2,$3,'');$$\r
LANGUAGE 'sql' IMMUTABLE;\r
\r
COMMIT;\r
DROP FUNCTION IF EXISTS box2d_intersects(box2d, box2d);
DROP FUNCTION IF EXISTS st_area(geography); -- this one changed to use default parameters
DROP FUNCTION IF EXISTS st_asx3d(geometry); -- this one changed to use default parameters so full function deals with it
+DROP FUNCTION IF EXISTS st_asx3d(geometry, int4); -- introduce variant with opts so get rid of other without ops
DROP FUNCTION IF EXISTS st_assvg(geometry); -- changed to use default args
DROP FUNCTION IF EXISTS st_assvg(geometry,int4); -- changed to use default args
DROP FUNCTION IF EXISTS st_assvg(geography); -- changed to use default args