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

From: momjian(at)postgresql(dot)org (Bruce Momjian - CVS)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql-server/src/backend/catalog index.c
Date: 2002-08-28 20:46:47
Message-ID: 20020828204647.8D8E7476621@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

CVSROOT: /cvsroot
Module name: pgsql-server
Changes by: momjian(at)postgresql(dot)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

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian - CVS 2002-08-28 20:55:23 pgsql-server/src/backend/tioga Arr_TgRecipe.h ...
Previous Message Bruce Momjian - CVS 2002-08-28 20:46:24 pgsql-server/src backend/executor/execMain.c b ...