Recover _CDB_check_prerequisites (sorry, my fault)

This commit is contained in:
Rafa de la Torre
2015-08-14 12:22:59 +02:00
parent 3d89d8231f
commit 72ebc398f8
3 changed files with 26 additions and 3 deletions

View File

@@ -125,8 +125,9 @@ $$
LANGUAGE 'plpgsql';
-- table with single non-geometrical column
SELECT CDB_SetUserQuotaInBytes(0); -- Set user quota to infinite
CREATE TABLE t AS SELECT 1::int as a;
SELECT CDB_CartodbfyTable('public', 't'); -- should fail
SELECT CDB_SetUserQuotaInBytes(0); -- Set user quota to infinite
SELECT CDB_CartodbfyTableCheck('t', 'single non-geometrical column');
DROP TABLE t;