d268cd07cb
with Cartodbfy being invoked by schema triggers. Some issues with regclass interpretation in tests still remain. Some issues with slightly different behavior to old version remain. Some issues with error messages / notification messages changing a little still remain.
10 lines
292 B
PL/PgSQL
10 lines
292 B
PL/PgSQL
CREATE EXTENSION postgis;
|
|
CREATE EXTENSION schema_triggers;
|
|
CREATE EXTENSION plpythonu;
|
|
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'; |