Re: BUG #6734: create table (like ...) fails if an index has a comment

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #6734: create table (like ...) fails if an index has a comment
Дата
Msg-id 1522.1342192301@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: BUG #6734: create table (like ...) fails if an index has a comment  (Daniele Varrazzo <daniele.varrazzo@gmail.com>)
Ответы Re: BUG #6734: create table (like ...) fails if an index has a comment  (Daniele Varrazzo <daniele.varrazzo@gmail.com>)
Список pgsql-bugs
Daniele Varrazzo <daniele.varrazzo@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

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: BUG #6734: create table (like ...) fails if an index has a comment
Следующее
От: Craig Ringer
Дата:
Сообщение: Re: BUG #6735: PANIC: 42501: could not open control file "global/pg_control": Permission denied