cartodb-postgresql/sql/test_setup.sql

15 lines
380 B
MySQL
Raw Permalink Normal View History

\set ECHO none
\set QUIET on
2019-10-22 22:16:16 +08:00
SET client_min_messages TO error;
CREATE EXTENSION postgis;
CREATE EXTENSION @@plpythonu@@;
CREATE SCHEMA cartodb;
\i 'cartodb--unpackaged--@@VERSION@@.sql'
CREATE FUNCTION public.cdb_invalidate_varnish(table_name text)
RETURNS void AS $$
BEGIN
RAISE NOTICE 'cdb_invalidate_varnish(%) called', table_name;
END;
2015-11-05 00:06:54 +08:00
$$ LANGUAGE 'plpgsql';
\set QUIET off