wrong message when trying to create an already existing index

From: legrand legrand <legrand_legrand(at)hotmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: wrong message when trying to create an already existing index
Date: 2018-03-10 15:00:50
Message-ID: 1520694050596-0.post@n3.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello,
When trying to create an already existing index (in pg 9.5)

SQL> create index if not exists NEWINDEX on SCHEMA.TABLE(COL);
> relation "NEWINDEX" already exists, skipping

message speaks about relation (and not index)

Would it be possible that this message reports the correct object type ?
Regards
PAscal

--
Sent from: http://www.postgresql-archive.org/PostgreSQL-general-f1843780.html

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2018-03-10 15:16:21 Re: wrong message when trying to create an already existing index
Previous Message Félix GERZAGUET 2018-03-10 14:58:23 Re: Application Dependency/Limitations of Postgres Version Upgrade