Fixed wrong return for an empty element in _OBS_Get

This commit is contained in:
Mario de Frutos
2016-05-18 09:55:16 +02:00
parent fe3a6759f7
commit 00165b17e6
+1 -1
View File
@@ -171,7 +171,7 @@ BEGIN
THEN
RAISE NOTICE 'Point % is outside of the data region', ST_AsText(geom);
-- TODO this should return JSON
RETURN QUERY SELECT '{}'::text[], '{}'::NUMERIC[];
RETURN QUERY SELECT '{}'::json;
RETURN;
END IF;