Fix: overlay generation was not using the proper scale
This commit is contained in:
parent
4c85d7f3ad
commit
d7c8f3d7e8
@ -91,6 +91,7 @@ BEGIN
|
|||||||
base_rel := reloid;
|
base_rel := reloid;
|
||||||
FOREACH overview_z IN ARRAY overviews_z LOOP
|
FOREACH overview_z IN ARRAY overviews_z LOOP
|
||||||
EXECUTE 'SELECT ' || quote_ident(reduce_strategy::text) || Format('(''%s'', %s, %s);', base_rel, base_z, overview_z) INTO base_rel;
|
EXECUTE 'SELECT ' || quote_ident(reduce_strategy::text) || Format('(''%s'', %s, %s);', base_rel, base_z, overview_z) INTO base_rel;
|
||||||
|
base_z := overview_z;
|
||||||
SELECT array_append(overview_tables, base_rel) INTO overview_tables;
|
SELECT array_append(overview_tables, base_rel) INTO overview_tables;
|
||||||
END LOOP;
|
END LOOP;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user