Commits on July 04, 2001
Commits1 commit
0Author
1Committer
0Reviewer
0Reported by
0Co-author
| Credit | Commit | Branches | Thread(s) | Committed |
|---|---|---|---|---|
| Committer | Prohibit a column from appearing twice in a PRIMARY KEY or UNIQUE constraint. This case (a) is useless, (b) violates SQL92, and (c) is certain to cause a failure downstream when we try to create an index with duplicated column names. So give an appropriate error message instead of letting the index failure occur. Per report from Colin Strickland. NOTE: currently, CREATE INDEX fooi ON foo(f1,f1) still fails with 'cannot insert duplicate key' error. Should we change that too? What about functional indexes? | master7.2beta1REL_19_STABLE7.2beta1REL_18_STABLE7.2beta1REL_17_STABLE7.2beta1REL_16_STABLE7.2beta1REL_15_STABLE7.2beta1REL_14_STABLE7.2beta1REL_13_STABLE7.2beta1+23 more | Jul 04, 2001 |