diff options
| author | Pavan Deolasee | 2015-06-10 12:54:25 +0000 |
|---|---|---|
| committer | Pavan Deolasee | 2015-06-10 12:54:25 +0000 |
| commit | a7e6689c65037115235188286b410dbc65a064a6 (patch) | |
| tree | 34cce7293ba0800ecb81d22b5ea0f2ad72b557d0 | |
| parent | 6419b084dbbecae1b9b5de45a3ffa2b48ef4dc38 (diff) | |
Fix alternate expected output for the testcase 'truncate'
We no longer emit NOTICE messages for implicit primary index creation
| -rw-r--r-- | src/test/regress/expected/truncate_1.out | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/test/regress/expected/truncate_1.out b/src/test/regress/expected/truncate_1.out index 2ada364da6..1a8604ddda 100644 --- a/src/test/regress/expected/truncate_1.out +++ b/src/test/regress/expected/truncate_1.out @@ -1,6 +1,5 @@ -- Test basic TRUNCATE functionality. CREATE TABLE truncate_a (col1 integer primary key); -NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "truncate_a_pkey" for table "truncate_a" INSERT INTO truncate_a VALUES (1); INSERT INTO truncate_a VALUES (2); SELECT * FROM truncate_a ORDER BY 1; @@ -33,8 +32,6 @@ SELECT * FROM truncate_a ORDER BY 1; -- Test foreign-key checks CREATE TABLE trunc_b (a int REFERENCES truncate_a); CREATE TABLE trunc_c (a serial PRIMARY KEY) DISTRIBUTE BY REPLICATION; -NOTICE: CREATE TABLE will create implicit sequence "trunc_c_a_seq" for serial column "trunc_c.a" -NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "trunc_c_pkey" for table "trunc_c" CREATE TABLE trunc_d (a int REFERENCES trunc_c); CREATE TABLE trunc_e (a int REFERENCES truncate_a, b int REFERENCES trunc_c); TRUNCATE TABLE truncate_a; -- fail @@ -143,7 +140,6 @@ SELECT * FROM trunc_e; DROP TABLE truncate_a,trunc_c,trunc_b,trunc_d,trunc_e CASCADE; -- Test TRUNCATE with inheritance CREATE TABLE trunc_f (col1 integer primary key); -NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "trunc_f_pkey" for table "trunc_f" INSERT INTO trunc_f VALUES (1); INSERT INTO trunc_f VALUES (2); CREATE TABLE trunc_fa (col2a text) INHERITS (trunc_f); @@ -370,7 +366,6 @@ DROP FUNCTION trunctrigger(); CREATE SEQUENCE truncate_a_id1 START WITH 33; CREATE TABLE truncate_a (id serial, id1 integer default nextval('truncate_a_id1')); -NOTICE: CREATE TABLE will create implicit sequence "truncate_a_id_seq" for serial column "truncate_a.id" ALTER SEQUENCE truncate_a_id1 OWNED BY truncate_a.id1; INSERT INTO truncate_a DEFAULT VALUES; INSERT INTO truncate_a DEFAULT VALUES; |
