From 50e41179fce5dcc13620c935bc1e6030482aa5e0 Mon Sep 17 00:00:00 2001 From: Gonzalo Riestra Date: Fri, 8 Mar 2019 09:18:46 +0100 Subject: [PATCH] fix test --- test/CDB_GhostTables.sql | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/CDB_GhostTables.sql b/test/CDB_GhostTables.sql index c8c7148..d80f095 100644 --- a/test/CDB_GhostTables.sql +++ b/test/CDB_GhostTables.sql @@ -1,5 +1,6 @@ -- Create user and enable Ghost tables trigger \set QUIET on +SET client_min_messages TO error; CREATE ROLE "fulano" LOGIN; GRANT ALL ON SCHEMA cartodb TO "fulano"; GRANT SELECT ON cartodb.cdb_ddl_execution TO "fulano"; @@ -8,6 +9,7 @@ GRANT EXECUTE ON FUNCTION CDB_LinkGhostTables() TO "fulano"; SELECT CDB_EnableGhostTablesTrigger(); INSERT INTO cdb_conf (key, value) VALUES ('api_keys_fulano', '{"username": "fulanito", "permissions":[]}'); SET SESSION AUTHORIZATION "fulano"; +SET client_min_messages TO notice; \set QUIET off SELECT CDB_LinkGhostTables(); -- _CDB_LinkGhostTables called