cartodb-postgresql/sql/test_setup.sql

15 lines
376 B
MySQL
Raw 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;
2019-12-24 03:13:11 +08:00
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