Commit Graph

7 Commits

Author SHA1 Message Date
Sandro Santilli
2f0031e6a2 Do not call CDB_Invalidate_Varnish() if not owned by a superuser
Search for that function in schemas cartodb and public (in that order).
Closes #24
2014-05-14 19:03:20 +02:00
Sandro Santilli
f98071cdac Do not allow cartodbfying tables while no user quota is set
Closes #17
Updates tests
2014-05-12 13:27:44 +02:00
Sandro Santilli
cfd8dbc5a4 Test calls to CDB_Invalidate_Varnish
Also drops the DELETE trigger on CDB_TableMetadata as the call to
CDB_Invalidate_Varnish would then get an OID, which is pretty useless.
Closes #8
2014-05-09 17:34:18 +02:00
Sandro Santilli
1643ae2db1 Sleep less in the DDL hooks test
Closes #9
Hopefully travis is not too slow to fail this...
2014-05-09 11:34:24 +02:00
Sandro Santilli
15740f2ef6 Enable running all tests via "installcheck"
NOTE: also makes CDB_TableMetadata triggers still functional
      when user quota and varnish invalidation functions are missing
      from the database (currently installed by cartodb ruby)
2014-05-06 10:18:38 +02:00
Sandro Santilli
7a5ce833a4 Fix expected result 2014-05-05 12:43:37 +02:00
Sandro Santilli
8cd7e31450 Include some of the cartodb scripts in the extension
NOTE: this is unfinished as cartodb scripts are only referenced and not
      really included
2014-04-30 19:03:14 +02:00