Change expectation #86
Just add CONTEXT lines since they are now added in case of WARNING/ERROR as a result of having CDB_QueryTables calling CDB_QueryTablesText.
This commit is contained in:
parent
ddb6b2c5b5
commit
22fc962d09
@ -1,13 +1,18 @@
|
|||||||
|
\set ECHO none
|
||||||
SELECT * FROM geometry_columns|{pg_catalog.pg_attribute,pg_catalog.pg_class,pg_catalog.pg_namespace,pg_catalog.pg_type}
|
SELECT * FROM geometry_columns|{pg_catalog.pg_attribute,pg_catalog.pg_class,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|{}
|
||||||
SELECT a.oid, b.oid FROM pg_class a, pg_class b|{pg_catalog.pg_class}
|
SELECT a.oid, b.oid FROM pg_class a, pg_class b|{pg_catalog.pg_class}
|
||||||
SELECT 1 as col1; select 2 as col2|{}
|
SELECT 1 as col1; select 2 as col2|{}
|
||||||
WARNING: CDB_QueryTables cannot explain query: select 1 from nonexistant (42P01: relation "nonexistant" does not exist)
|
WARNING: CDB_QueryTables cannot explain query: select 1 from nonexistant (42P01: relation "nonexistant" does not exist)
|
||||||
|
CONTEXT: PL/pgSQL function cdb_querytables(text) line 3 at RETURN
|
||||||
ERROR: relation "nonexistant" does not exist
|
ERROR: relation "nonexistant" does not exist
|
||||||
|
CONTEXT: PL/pgSQL function cdb_querytables(text) line 3 at RETURN
|
||||||
begin; select * from pg_class; commit;|{pg_catalog.pg_class}
|
begin; select * from pg_class; commit;|{pg_catalog.pg_class}
|
||||||
WARNING: CDB_QueryTables cannot explain query: select * from test (42P01: relation "test" does not exist)
|
WARNING: CDB_QueryTables cannot explain query: select * from test (42P01: relation "test" does not exist)
|
||||||
|
CONTEXT: PL/pgSQL function cdb_querytables(text) line 3 at RETURN
|
||||||
ERROR: relation "test" does not exist
|
ERROR: relation "test" does not exist
|
||||||
|
CONTEXT: PL/pgSQL function cdb_querytables(text) line 3 at RETURN
|
||||||
WITH a AS (select * from pg_class) select * from a|{pg_catalog.pg_class}
|
WITH a AS (select * from pg_class) select * from a|{pg_catalog.pg_class}
|
||||||
CREATE SCHEMA
|
CREATE SCHEMA
|
||||||
CREATE TABLE
|
CREATE TABLE
|
||||||
|
Loading…
Reference in New Issue
Block a user