Fix tests

This commit is contained in:
Javier Goizueta 2017-04-10 13:50:37 +02:00
parent 76bdb3657a
commit 815b5b429d
2 changed files with 3 additions and 0 deletions

View File

@ -1,3 +1,5 @@
SET client_min_messages TO warning;
\set VERBOSITY default
WITH inp AS ( select 'SELECT * FROM geometry_columns'::text as q ) WITH inp AS ( select 'SELECT * FROM geometry_columns'::text as q )
SELECT q, CDB_QueryTables(q) from inp; SELECT q, CDB_QueryTables(q) from inp;

View File

@ -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 * 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} 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|{} CREATE table "my'tab;le" as select 1|{}