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
This commit is contained in:
Sandro Santilli
2014-05-09 17:34:18 +02:00
parent b69ded8f66
commit cfd8dbc5a4
4 changed files with 20 additions and 1 deletions

View File

@@ -1,3 +1,9 @@
CREATE EXTENSION postgis;
CREATE EXTENSION schema_triggers;
CREATE EXTENSION cartodb;
CREATE FUNCTION public.cdb_invalidate_varnish(table_name text)
RETURNS void AS $$
BEGIN
RAISE NOTICE 'cdb_invalidate_varnish(%) called', table_name;
END;
$$ LANGUAGE 'plpgsql';