Do not allow cartodbfying tables while no user quota is set

Closes #17
Updates tests
This commit is contained in:
Sandro Santilli
2014-05-12 13:07:47 +02:00
parent e6b02de9aa
commit f98071cdac
7 changed files with 28 additions and 3 deletions

View File

@@ -12,8 +12,8 @@ EXCEPTION
END;
$$ LANGUAGE 'plpgsql';
--SELECT tmp();
-- Set user quota to infinite
SELECT CDB_SetUserQuotaInBytes(0);
create schema c;
@@ -121,3 +121,4 @@ drop schema c cascade;
select count(*) from CDB_TableMetadata;
DROP USER cartodb_postgresql_unpriv_user;
DROP FUNCTION _CDB_UserQuotaInBytes();