Add a comment to CDB_UserDataSize (from PR) #65

This commit is contained in:
Rafa de la Torre 2015-01-28 17:10:04 +00:00
parent bf622ae5a6
commit a4e42571cd

View File

@ -28,7 +28,7 @@ BEGIN
CASE
WHEN is_overview THEN 0
WHEN is_raster THEN 1
ELSE 0.5
ELSE 0.5 -- Division by 2 is for not counting the_geom_webmercator
END AS multiplier FROM table_cat GROUP BY is_overview, is_raster
)
SELECT sum(table_size*multiplier)::int8 INTO total_size FROM sizes;