Re: [HACKERS] Proposal: add error message in backend/catalog/index.c

2016-12-19 Thread Peter Eisentraut
On 12/13/16 1:15 AM, Ioseph Kim wrote: > I propose to append an error message when index name and table name are > same. > > > example: > > postgres@postgres=# create table t (a int not null, constraint t primary > key (a)); > ERROR: relation "t" already exists The code to detect that would pr

[HACKERS] Proposal: add error message in backend/catalog/index.c

2016-12-12 Thread Ioseph Kim
Hi, I propose to append an error message when index name and table name are same. example: postgres@postgres=# create table t (a int not null, constraint t primary key (a)); ERROR: relation "t" already exists End users will confusing pretty, because if users meet this message, users w