Fix FOUND in _CDB_Geometry_SRID #141
This commit is contained in:
parent
e546c15770
commit
9ec24c1aff
@ -523,7 +523,7 @@ BEGIN
|
|||||||
EXECUTE Format('SELECT ST_SRID(%I) AS srid FROM %s LIMIT 1', columnname, reloid::text)
|
EXECUTE Format('SELECT ST_SRID(%I) AS srid FROM %s LIMIT 1', columnname, reloid::text)
|
||||||
INTO rec;
|
INTO rec;
|
||||||
|
|
||||||
IF FOUND THEN
|
IF rec IS NOT NULL THEN
|
||||||
RETURN rec.srid;
|
RETURN rec.srid;
|
||||||
END IF;
|
END IF;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user