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.
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

ahachete/gpdb,yazun/postgres-xl,Quikling/gpdb,foyzur/gpdb,rvs/gpdb,pavanvd/postgres-xl,foyzur/gpdb,oberstet/postgres-xl,Quikling/gpdb,ahachete/gpdb,janebeckman/gpdb,kmjungersen/PostgresXL,ashwinstar/gpdb,chrishajas/gpdb,lintzc/gpdb,ahachete/gpdb,rvs/gpdb,greenplum-db/gpdb,edespino/gpdb,kaknikhil/gpdb,janebeckman/gpdb,CraigHarris/gpdb,royc1/gpdb,pavanvd/postgres-xl,CraigHarris/gpdb,xuegang/gpdb,xuegang/gpdb,lisakowen/gpdb,Quikling/gpdb,cjcjameson/gpdb,xinzweb/gpdb,rvs/gpdb,xuegang/gpdb,lisakowen/gpdb,xuegang/gpdb,50wu/gpdb,cjcjameson/gpdb,janebeckman/gpdb,ashwinstar/gpdb,lpetrov-pivotal/gpdb,yuanzhao/gpdb,Postgres-XL/Postgres-XL,arcivanov/postgres-xl,tangp3/gpdb,0x0FFF/gpdb,atris/gpdb,chrishajas/gpdb,rubikloud/gpdb,yuanzhao/gpdb,xinzweb/gpdb,randomtask1155/gpdb,CraigHarris/gpdb,zaksoup/gpdb,chrishajas/gpdb,cjcjameson/gpdb,royc1/gpdb,ashwinstar/gpdb,randomtask1155/gpdb,50wu/gpdb,adam8157/gpdb,tpostgres-projects/tPostgres,rubikloud/gpdb,atris/gpdb,tangp3/gpdb,zaksoup/gpdb,tangp3/gpdb,ashwinstar/gpdb,greenplum-db/gpdb,oberstet/postgres-xl,oberstet/postgres-xl,royc1/gpdb,ashwinstar/gpdb,edespino/gpdb,atris/gpdb,cjcjameson/gpdb,pavanvd/postgres-xl,adam8157/gpdb,zaksoup/gpdb,xuegang/gpdb,rvs/gpdb,Postgres-XL/Postgres-XL,lintzc/gpdb,lintzc/gpdb,tpostgres-projects/tPostgres,zaksoup/gpdb,jmcatamney/gpdb,yazun/postgres-xl,cjcjameson/gpdb,lpetrov-pivotal/gpdb,jmcatamney/gpdb,zeroae/postgres-xl,ahachete/gpdb,foyzur/gpdb,lpetrov-pivotal/gpdb,arcivanov/postgres-xl,snaga/postgres-xl,Postgres-XL/Postgres-XL,janebeckman/gpdb,tpostgres-projects/tPostgres,jmcatamney/gpdb,tangp3/gpdb,greenplum-db/gpdb,chrishajas/gpdb,lisakowen/gpdb,50wu/gpdb,ovr/postgres-xl,rubikloud/gpdb,xinzweb/gpdb,postmind-net/postgres-xl,postmind-net/postgres-xl,edespino/gpdb,jmcatamney/gpdb,lintzc/gpdb,foyzur/gpdb,lintzc/gpdb,yuanzhao/gpdb,zeroae/postgres-xl,atris/gpdb,xuegang/gpdb,50wu/gpdb,tpostgres-projects/tPostgres,ashwinstar/gpdb,yuanzhao/gpdb,zaksoup/gpdb,CraigHarris/gpdb,arcivanov/postgres-xl,jmcatamney/gpdb,greenplum-db/gpdb,chrishajas/gpdb,50wu/gpdb,rvs/gpdb,kmjungersen/PostgresXL,yazun/postgres-xl,Chibin/gpdb,Chibin/gpdb,arcivanov/postgres-xl,tangp3/gpdb,lisakowen/gpdb,Chibin/gpdb,foyzur/gpdb,ovr/postgres-xl,kaknikhil/gpdb,edespino/gpdb,jmcatamney/gpdb,ovr/postgres-xl,rubikloud/gpdb,lintzc/gpdb,Quikling/gpdb,snaga/postgres-xl,ahachete/gpdb,oberstet/postgres-xl,janebeckman/gpdb,lisakowen/gpdb,0x0FFF/gpdb,rvs/gpdb,randomtask1155/gpdb,rubikloud/gpdb,pavanvd/postgres-xl,ahachete/gpdb,jmcatamney/gpdb,tangp3/gpdb,randomtask1155/gpdb,rvs/gpdb,rubikloud/gpdb,arcivanov/postgres-xl,0x0FFF/gpdb,kaknikhil/gpdb,kaknikhil/gpdb,0x0FFF/gpdb,yuanzhao/gpdb,ahachete/gpdb,Chibin/gpdb,royc1/gpdb,kmjungersen/PostgresXL,ashwinstar/gpdb,Chibin/gpdb,rvs/gpdb,jmcatamney/gpdb,foyzur/gpdb,Quikling/gpdb,greenplum-db/gpdb,Postgres-XL/Postgres-XL,edespino/gpdb,adam8157/gpdb,lpetrov-pivotal/gpdb,randomtask1155/gpdb,greenplum-db/gpdb,janebeckman/gpdb,royc1/gpdb,50wu/gpdb,kaknikhil/gpdb,xinzweb/gpdb,kmjungersen/PostgresXL,janebeckman/gpdb,zeroae/postgres-xl,ahachete/gpdb,Quikling/gpdb,Quikling/gpdb,chrishajas/gpdb,adam8157/gpdb,techdragon/Postgres-XL,atris/gpdb,janebeckman/gpdb,yazun/postgres-xl,ashwinstar/gpdb,0x0FFF/gpdb,techdragon/Postgres-XL,techdragon/Postgres-XL,postmind-net/postgres-xl,xinzweb/gpdb,lintzc/gpdb,royc1/gpdb,CraigHarris/gpdb,cjcjameson/gpdb,snaga/postgres-xl,ovr/postgres-xl,lpetrov-pivotal/gpdb,ovr/postgres-xl,Quikling/gpdb,atris/gpdb,chrishajas/gpdb,50wu/gpdb,yuanzhao/gpdb,adam8157/gpdb,postmind-net/postgres-xl,zeroae/postgres-xl,chrishajas/gpdb,CraigHarris/gpdb,0x0FFF/gpdb,adam8157/gpdb,CraigHarris/gpdb,rubikloud/gpdb,edespino/gpdb,royc1/gpdb,rubikloud/gpdb,Chibin/gpdb,postmind-net/postgres-xl,yuanzhao/gpdb,foyzur/gpdb,snaga/postgres-xl,lpetrov-pivotal/gpdb,tpostgres-projects/tPostgres,xuegang/gpdb,janebeckman/gpdb,lisakowen/gpdb,cjcjameson/gpdb,Quikling/gpdb,techdragon/Postgres-XL,tangp3/gpdb,tangp3/gpdb,CraigHarris/gpdb,kmjungersen/PostgresXL,zaksoup/gpdb,rvs/gpdb,Chibin/gpdb,randomtask1155/gpdb,edespino/gpdb,xuegang/gpdb,Quikling/gpdb,royc1/gpdb,edespino/gpdb,CraigHarris/gpdb,randomtask1155/gpdb,lintzc/gpdb,xuegang/gpdb,Chibin/gpdb,techdragon/Postgres-XL,yuanzhao/gpdb,cjcjameson/gpdb,greenplum-db/gpdb,yuanzhao/gpdb,lpetrov-pivotal/gpdb,kaknikhil/gpdb,zaksoup/gpdb,cjcjameson/gpdb,50wu/gpdb,kaknikhil/gpdb,snaga/postgres-xl,foyzur/gpdb,oberstet/postgres-xl,adam8157/gpdb,adam8157/gpdb,cjcjameson/gpdb,pavanvd/postgres-xl,rvs/gpdb,arcivanov/postgres-xl,0x0FFF/gpdb,edespino/gpdb,xinzweb/gpdb,randomtask1155/gpdb,atris/gpdb,atris/gpdb,Chibin/gpdb,zaksoup/gpdb,kaknikhil/gpdb,xinzweb/gpdb,zeroae/postgres-xl,yuanzhao/gpdb,edespino/gpdb,yazun/postgres-xl,lisakowen/gpdb,xinzweb/gpdb,lintzc/gpdb,Postgres-XL/Postgres-XL,greenplum-db/gpdb,Chibin/gpdb,lisakowen/gpdb,0x0FFF/gpdb,kaknikhil/gpdb,lpetrov-pivotal/gpdb,kaknikhil/gpdb,janebeckman/gpdb