alter table rename to ..

Поиск
Список
Период
Сортировка
От Andreas Degert
Тема alter table rename to ..
Дата
Msg-id 87pum87jm5.fsf@tarzan.noname
обсуждение исходный текст
Список pgsql-hackers
Hi,

I'm not sure if this has been already discussed..

Renaming a database table doesn't change automatically created index
names, so that if you do

create table t(a int primary key);
alter table t rename to t1;
create table t(a int primary key);

then the second create will fail. Would it be possible to have the
alter table command to also rename the index? The same goes for
columns with unique.

ciao
Andreas


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

Предыдущее
От: Zeugswetter Andreas SB
Дата:
Сообщение: AW: null in constraints
Следующее
От: Tatsuo Ishii
Дата:
Сообщение: Re: PL/pgSQL does not accept none ASCII identifiers