Bug #895: incorrect error message when duplicate index name

From: pgsql-bugs(at)postgresql(dot)org
To: pgsql-bugs(at)postgresql(dot)org
Subject: Bug #895: incorrect error message when duplicate index name
Date: 2003-02-12 10:26:49
Message-ID: 20030212102649.84C07474E5C@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

VIacheslav N Tararin (taras(at)dekasoft(dot)com(dot)ua) reports a bug with a severity of 4
The lower the number the more severe it is.

Short Description
incorrect error message when duplicate index name

Long Description
ERROR: relation named "pk_exchange_batch_idx" already exists
Why relation when I create index?

Sample Code
create unique index PK_EXCHANGE_BATCH_IDX on CURRENCY.EXCHANGE_BATCH(ID);
create index PK_EXCHANGE_BATCH_IDX on CURRENCY.EXCHANGE_BATCH(TYPE_ID, FROM_DATE, TO_DATE);

No file was uploaded with this report

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Viacheslav N Tararin 2003-02-12 10:47:49 Constraints not check indexes existence on creation.
Previous Message Vicki Brown 2003-02-12 04:01:21 discrepancy between "make check" output and documentation