@@ -452,7 +452,7 @@ drop table atacc1;
452452create table atacc1 ( test int );
453453-- add a unique constraint
454454alter table atacc1 add constraint atacc_test1 unique (test);
455- NOTICE: ALTER TABLE / UNIQUE will create implicit index 'atacc_test1' for table 'atacc1'
455+ NOTICE: ALTER TABLE / ADD UNIQUE will create implicit index 'atacc_test1' for table 'atacc1'
456456-- insert first value
457457insert into atacc1 (test) values (2);
458458-- should fail
@@ -462,7 +462,7 @@ ERROR: Cannot insert a duplicate key into unique index atacc_test1
462462insert into atacc1 (test) values (4);
463463-- try adding a unique oid constraint
464464alter table atacc1 add constraint atacc_oid1 unique(oid);
465- NOTICE: ALTER TABLE / UNIQUE will create implicit index 'atacc_oid1' for table 'atacc1'
465+ NOTICE: ALTER TABLE / ADD UNIQUE will create implicit index 'atacc_oid1' for table 'atacc1'
466466drop table atacc1;
467467-- let's do one where the unique constraint fails when added
468468create table atacc1 ( test int );
@@ -471,7 +471,7 @@ insert into atacc1 (test) values (2);
471471insert into atacc1 (test) values (2);
472472-- add a unique constraint (fails)
473473alter table atacc1 add constraint atacc_test1 unique (test);
474- NOTICE: ALTER TABLE / UNIQUE will create implicit index 'atacc_test1' for table 'atacc1'
474+ NOTICE: ALTER TABLE / ADD UNIQUE will create implicit index 'atacc_test1' for table 'atacc1'
475475ERROR: Cannot create unique index. Table contains non-unique values
476476insert into atacc1 (test) values (3);
477477drop table atacc1;
@@ -486,7 +486,7 @@ drop table atacc1;
486486create table atacc1 ( test int, test2 int);
487487-- add a unique constraint
488488alter table atacc1 add constraint atacc_test1 unique (test, test2);
489- NOTICE: ALTER TABLE / UNIQUE will create implicit index 'atacc_test1' for table 'atacc1'
489+ NOTICE: ALTER TABLE / ADD UNIQUE will create implicit index 'atacc_test1' for table 'atacc1'
490490-- insert initial value
491491insert into atacc1 (test,test2) values (4,4);
492492-- should fail
@@ -501,7 +501,7 @@ drop table atacc1;
501501create table atacc1 (test int, test2 int, unique(test));
502502NOTICE: CREATE TABLE / UNIQUE will create implicit index 'atacc1_test_key' for table 'atacc1'
503503alter table atacc1 add unique (test2);
504- NOTICE: ALTER TABLE / UNIQUE will create implicit index 'atacc1_test2_key' for table 'atacc1'
504+ NOTICE: ALTER TABLE / ADD UNIQUE will create implicit index 'atacc1_test2_key' for table 'atacc1'
505505-- should fail for @@ second one @@
506506insert into atacc1 (test2, test) values (3, 3);
507507insert into atacc1 (test2, test) values (2, 3);
0 commit comments