Add test case for Issue #7
authorPallavi Sontakke <[email protected]>
Tue, 19 Jul 2016 05:32:40 +0000 (11:02 +0530)
committerPallavi Sontakke <[email protected]>
Tue, 19 Jul 2016 05:32:40 +0000 (11:02 +0530)
src/test/regress/expected/xl_reported_bugs.out
src/test/regress/sql/xl_reported_bugs.sql

index 2d419ff2608dbc725fcdf015da3abf831fec4d6d..c41288dc6ac38a18cfd2dbd761a9eb2184d65e09 100644 (file)
@@ -26,3 +26,10 @@ CREATE FUNCTION testf (x test) RETURNS INTEGER AS $$ SELECT 1; $$ LANGUAGE SQL;
 DROP FUNCTION testf (x test);
 DROP VIEW v;
 DROP TABLE test;
+-- #7
+-- "cache lookup failed" error
+CREATE TABLE test (a int, b int);
+CREATE VIEW v AS SELECT * FROM test;
+SELECT v FROM v;
+DROP VIEW v;
+DROP TABLE test;
index 847977a3727861e8cc7d4fd46a3c27f58d3ab3f4..7dbd26dd26b4636f4dd51ad4f92c857cab6d44f8 100644 (file)
@@ -19,3 +19,12 @@ CREATE FUNCTION testf (x test) RETURNS INTEGER AS $$ SELECT 1; $$ LANGUAGE SQL;
 DROP FUNCTION testf (x test);
 DROP VIEW v;
 DROP TABLE test;
+
+
+-- #7
+-- "cache lookup failed" error
+CREATE TABLE test (a int, b int);
+CREATE VIEW v AS SELECT * FROM test;
+SELECT v FROM v;
+DROP VIEW v;
+DROP TABLE test;