summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPavan Deolasee2015-06-25 06:36:20 +0000
committerPavan Deolasee2015-06-25 06:36:20 +0000
commit17d5945331b6d6e80b71b74b1b8ed80f6ddf0f14 (patch)
tree17eff440378ddabefa1c74725ad36cce41f04328 /src
parente7b61d3b010134485741fcb509d5e6f5c9cad383 (diff)
Change expected output for the test case 'tablespace'
We don't yet support CREATE TABLE AS EXECUTE. So the expected output is changed to have the corresponding error message and side effects of the same
Diffstat (limited to 'src')
-rw-r--r--src/test/regress/output/tablespace.source11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/test/regress/output/tablespace.source b/src/test/regress/output/tablespace.source
index ca606508f8..d79f71e3dd 100644
--- a/src/test/regress/output/tablespace.source
+++ b/src/test/regress/output/tablespace.source
@@ -45,12 +45,12 @@ SELECT relname, spcname FROM pg_catalog.pg_tablespace t, pg_catalog.pg_class c
PREPARE selectsource(int) AS SELECT $1;
CREATE TABLE testschema.asexecute TABLESPACE testspace
AS EXECUTE selectsource(2);
+ERROR: CREATE TABLE AS EXECUTE not yet supported
SELECT relname, spcname FROM pg_catalog.pg_tablespace t, pg_catalog.pg_class c
where c.reltablespace = t.oid AND c.relname = 'asexecute';
- relname | spcname
------------+-----------
- asexecute | testspace
-(1 row)
+ relname | spcname
+---------+---------
+(0 rows)
-- index
CREATE INDEX foo_idx on testschema.foo(i) TABLESPACE testspace;
@@ -101,10 +101,9 @@ NOTICE: no matching relations in tablespace "testspace_renamed" found
-- Should succeed
DROP TABLESPACE testspace_renamed;
DROP SCHEMA testschema CASCADE;
-NOTICE: drop cascades to 4 other objects
+NOTICE: drop cascades to 3 other objects
DETAIL: drop cascades to table testschema.foo
drop cascades to table testschema.asselect
-drop cascades to table testschema.asexecute
drop cascades to table testschema.atable
DROP ROLE tablespace_testuser1;
DROP ROLE tablespace_testuser2;