Schema
Owner
postgres
Descriptions
args: WKT, srid - Return a specified ST_MultiLineString value from WKT representation.
Options
Option | Value |
---|---|
Returns |
public.geometry |
Language |
sql |
Parameters |
text integer |
Definition
CREATE OR REPLACE FUNCTION public.st_mlinefromtext (
text,
integer
)
RETURNS public.geometry AS
$span$
SELECT CASE
WHEN public.geometrytype(public.ST_GeomFromText($1, $2)) = 'MULTILINESTRING'
THEN public.ST_GeomFromText($1,$2)
ELSE NULL END
$span$
LANGUAGE 'sql'
IMMUTABLE
RETURNS NULL ON NULL INPUT
SECURITY INVOKER
COST 100;
COMMENT ON FUNCTION public.st_mlinefromtext(text, integer)
IS 'args: WKT, srid - Return a specified ST_MultiLineString value from WKT representation.';
This file was generated with SQL Manager for PostgreSQL (www.pgsqlmanager.com) at 13/03/2014 13:23 |