forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitfbb1966
committed
This trivial patches fixes the error message returned by CREATE INDEX
when it finds an existing relation with the same name as theto-be-created index.Old error message:nconway=# create table foo (a int);CREATE TABLEnconway=# create index foo on foo (a);ERROR: index named "foo" already existsI replaced 'index' with 'relation' in the error message.Neil Conway1 parent81dfa2c commitfbb1966
1 file changed
+2
-2
lines changedLines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
11 |
| - | |
| 11 | + | |
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
| |||
561 | 561 |
| |
562 | 562 |
| |
563 | 563 |
| |
564 |
| - | |
| 564 | + | |
565 | 565 |
| |
566 | 566 |
| |
567 | 567 |
| |
|
0 commit comments
Comments
(0)