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)
This commit is contained in:
@@ -82,7 +82,11 @@ BEGIN
|
||||
--
|
||||
-- LISTEN cdb_tabledata_update;
|
||||
--
|
||||
PERFORM cdb_invalidate_varnish(tabname);
|
||||
BEGIN
|
||||
PERFORM cdb_invalidate_varnish(tabname);
|
||||
EXCEPTION WHEN undefined_function THEN
|
||||
RAISE WARNING 'Missing cdb_invalidate_varnish()';
|
||||
END;
|
||||
|
||||
RETURN NULL;
|
||||
END;
|
||||
|
||||
Reference in New Issue
Block a user