Schema
Owner
postgres
Descriptions
args: WKT - Makes a Geometry from WKT representation with the given SRID. If SRID is not given, it defaults to 0.
Options
Option | Value |
---|---|
Returns |
public.geometry |
Language |
sql |
Parameters |
text |
Definition
CREATE OR REPLACE FUNCTION public.st_linefromtext (
text
)
RETURNS public.geometry AS
$span$
SELECT CASE WHEN geometrytype(public.ST_GeomFromText($1)) = 'LINESTRING'
THEN public.ST_GeomFromText($1)
ELSE NULL END
$span$
LANGUAGE 'sql'
IMMUTABLE
RETURNS NULL ON NULL INPUT
SECURITY INVOKER
COST 100;
COMMENT ON FUNCTION public.st_linefromtext(text)
IS 'args: WKT - Makes a Geometry from WKT representation with the given SRID. If SRID is not given, it defaults to 0.';
This file was generated with SQL Manager for PostgreSQL (www.pgsqlmanager.com) at 07/12/2018 13:23 |