array typing issues
This commit is contained in:
parent
d1c2598167
commit
ccf61c3583
@ -71,9 +71,9 @@ BEGIN
|
|||||||
AND CASE WHEN $1 IS NULL THEN True ELSE $1 = geom_c.id END
|
AND CASE WHEN $1 IS NULL THEN True ELSE $1 = geom_c.id END
|
||||||
ORDER BY geom_c.weight DESC,
|
ORDER BY geom_c.weight DESC,
|
||||||
data_t.timespan DESC
|
data_t.timespan DESC
|
||||||
LIMIT 1;
|
LIMIT 1
|
||||||
' INTO timespan, geometry_id
|
' INTO timespan, geometry_id
|
||||||
USING geometry_id, column_ids[1], timespan;
|
USING geometry_id, (column_ids)[1], timespan;
|
||||||
END IF;
|
END IF;
|
||||||
|
|
||||||
RETURN QUERY
|
RETURN QUERY
|
||||||
|
Loading…
Reference in New Issue
Block a user