Fixes CDB_UserDataSize failing due ERROR: relation "*" does not exist.

Adds new _CDB_total_relation_size function that handles nonexistent
tables and does fallback to size=0.

That function could be used to cache total relation size or query another
table view with a cached total relation size.

Fixes #108
This commit is contained in:
Raul Ochoa
2015-08-13 13:23:35 +02:00
parent cb57af9074
commit 4e31d3a37e
5 changed files with 35 additions and 3 deletions

View File

@@ -1,3 +1,7 @@
0.8.3 (2015-mm-dd)
------------------
* Fixes CDB_UserDataSize failing due `ERROR: relation "*" does not exist.` [#108](https://github.com/CartoDB/cartodb-postgresql/issues/108)
0.8.2 (2015-07-27)
------------------
* Fix for CDB_UserTables returning wrong listings when publicuser is used