From 815b5b429dcf61869e1df91b5db834eb7300d6bc Mon Sep 17 00:00:00 2001 From: Javier Goizueta Date: Mon, 10 Apr 2017 13:50:37 +0200 Subject: [PATCH] Fix tests --- test/CDB_QueryTablesTest.sql | 2 ++ test/CDB_QueryTablesTest_expect | 1 + 2 files changed, 3 insertions(+) diff --git a/test/CDB_QueryTablesTest.sql b/test/CDB_QueryTablesTest.sql index 695bf70..04633d5 100644 --- a/test/CDB_QueryTablesTest.sql +++ b/test/CDB_QueryTablesTest.sql @@ -1,3 +1,5 @@ +SET client_min_messages TO warning; +\set VERBOSITY default WITH inp AS ( select 'SELECT * FROM geometry_columns'::text as q ) SELECT q, CDB_QueryTables(q) from inp; diff --git a/test/CDB_QueryTablesTest_expect b/test/CDB_QueryTablesTest_expect index 47ab857..c6ff979 100644 --- a/test/CDB_QueryTablesTest_expect +++ b/test/CDB_QueryTablesTest_expect @@ -1,3 +1,4 @@ +SET SELECT * FROM geometry_columns|{pg_catalog.pg_attribute,pg_catalog.pg_class,pg_catalog.pg_constraint,pg_catalog.pg_namespace,pg_catalog.pg_type} SELECT a.attname FROM pg_class c JOIN pg_attribute a on (a.attrelid = c.oid)|{pg_catalog.pg_attribute,pg_catalog.pg_class} CREATE table "my'tab;le" as select 1|{}