Daniele Varrazzo <daniele.varra...@gmail.com> writes:
> Wouldn't it be better to call the indexes NEWTABLE_OLDINDEXNAME?

Then the CREATE LIKE command would fail altogether if that name were
already taken.  Postponing the selection of the index name to the time
when DefineIndex runs is really the only safe thing.

                        regards, tom lane

-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

Reply via email to