#1138 not counting raster overviews for quota
This commit is contained in:
parent
6f80b52c92
commit
b7c2336ae0
@ -13,7 +13,11 @@ $$
|
|||||||
WHERE table_catalog = current_database() AND table_schema = schema_name
|
WHERE table_catalog = current_database() AND table_schema = schema_name
|
||||||
AND table_name != 'spatial_ref_sys'
|
AND table_name != 'spatial_ref_sys'
|
||||||
AND table_name != 'cdb_tablemetadata'
|
AND table_name != 'cdb_tablemetadata'
|
||||||
AND table_type = 'BASE TABLE';
|
AND table_type = 'BASE TABLE'
|
||||||
|
AND table_name NOT IN (
|
||||||
|
SELECT o_table_name FROM raster_overviews
|
||||||
|
WHERE o_table_schema = schema_name AND o_table_catalog = current_database()
|
||||||
|
);
|
||||||
$$
|
$$
|
||||||
LANGUAGE 'sql' VOLATILE;
|
LANGUAGE 'sql' VOLATILE;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user