Missing qualification

This commit is contained in:
Raul Marin
2019-10-22 20:09:15 +02:00
parent 8245156038
commit e787b1d097
+2 -1
View File
@@ -21,8 +21,9 @@ $$
DECLARE DECLARE
total_size INT8; total_size INT8;
BEGIN BEGIN
-- TODO: Make this compatible with postgis without raster (No view and no raster tables)
WITH raster_tables AS ( WITH raster_tables AS (
SELECT o_table_name, r_table_name FROM raster_overviews SELECT o_table_name, r_table_name FROM @postgisschema@.raster_overviews
WHERE o_table_schema = schema_name AND o_table_catalog = current_database() WHERE o_table_schema = schema_name AND o_table_catalog = current_database()
), ),
user_tables AS ( user_tables AS (