Adjust expected output to reflect that CREATE TABLE AS EXECUTE is not supported.
authorPavan Deolasee <[email protected]>
Tue, 16 Jul 2019 03:55:15 +0000 (09:25 +0530)
committerPavan Deolasee <[email protected]>
Tue, 16 Jul 2019 03:55:15 +0000 (09:25 +0530)
src/test/regress/expected/create_table.out

index 06e8139fe45a8e054164a9ffa36e3f8caf9939dc..279a4e4710a2edb39ca3e631a16f9e3a55946c9c 100644 (file)
@@ -260,17 +260,17 @@ NOTICE:  relation "as_select1" already exists, skipping
 DROP TABLE as_select1;
 PREPARE select1 AS SELECT 1 as a;
 CREATE TABLE as_select1 AS EXECUTE select1;
+ERROR:  CREATE TABLE AS EXECUTE not yet supported
 CREATE TABLE as_select1 AS EXECUTE select1;
-ERROR:  relation "as_select1" already exists
+ERROR:  CREATE TABLE AS EXECUTE not yet supported
 SELECT * FROM as_select1;
- a 
----
- 1
-(1 row)
-
+ERROR:  relation "as_select1" does not exist
+LINE 1: SELECT * FROM as_select1;
+                      ^
 CREATE TABLE IF NOT EXISTS as_select1 AS EXECUTE select1;
-NOTICE:  relation "as_select1" already exists, skipping
+ERROR:  CREATE TABLE IF NOT EXISTS AS EXECUTE not yet supported
 DROP TABLE as_select1;
+ERROR:  table "as_select1" does not exist
 DEALLOCATE select1;
 -- check that the oid column is added before the primary key is checked
 CREATE TABLE oid_pk (f1 INT, PRIMARY KEY(oid)) WITH OIDS;