pgsql-server/src/backend/catalog index.c

Started by Bruce Momjianalmost 24 years ago1 messagescomitters
Jump to latest
#1Bruce Momjian
bruce@momjian.us

CVSROOT: /cvsroot
Module name: pgsql-server
Changes by: momjian@postgresql.org 02/08/28 16:46:47

Modified files:
src/backend/catalog: index.c

Log message:
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