diff options
author | Bruce Momjian <bruce@momjian.us> | 2002-08-28 20:46:47 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2002-08-28 20:46:47 +0000 |
commit | fbb1966cf3125f07220a546bf424df73327fe47f (patch) | |
tree | 651540c0cb7d6862380fe76c96322cf62d5696cd /src/backend/tcop/postgres.c | |
parent | 81dfa2ce4328c44201a70a9dc3517bd356698069 (diff) | |
download | postgresql-fbb1966cf3125f07220a546bf424df73327fe47f.tar.gz postgresql-fbb1966cf3125f07220a546bf424df73327fe47f.zip |
This trivial patches fixes the error message returned by CREATE INDEX
when it finds an existing relation with the same name as the
to-be-created index.
Old error message:
nconway=# create table foo (a int);
CREATE TABLE
nconway=# create index foo on foo (a);
ERROR: index named "foo" already exists
I replaced 'index' with 'relation' in the error message.
Neil Conway
Diffstat (limited to 'src/backend/tcop/postgres.c')
0 files changed, 0 insertions, 0 deletions