Make boundary table function immutable

This commit is contained in:
lukasmartinelli 2016-10-08 21:22:10 +02:00
parent 7de8f38e90
commit d53ca84a36

View File

@ -121,4 +121,4 @@ RETURNS TABLE(geom geometry, admin_level int, scalerank int, class text) AS $$
)
SELECT geom, admin_level, scalerank::int, class FROM zoom_levels
WHERE geom && bbox;
$$ LANGUAGE SQL;
$$ LANGUAGE SQL IMMUTABLE;