Re: ALTER RENAME and indexes

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: ALTER RENAME and indexes
Дата
Msg-id 6961.1002289608@sss.pgh.pa.us
обсуждение исходный текст
Ответ на typo in src/interfaces/ecpg/preproc/preproc.y  (Brent Verner <brent@rcfile.org>)
Ответы Re: ALTER RENAME and indexes  (Brent Verner <brent@rcfile.org>)
Список pgsql-hackers
Brent Verner <brent@rcfile.org> writes:
> 'ALTER TABLE tbl RENAME col1 TO col2' does not update any indices that
> reference the old column name.

It doesn't need to; the indexes link to column numbers, not column
names.
        regards, tom lane


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

Предыдущее
От: Alex Avriette
Дата:
Сообщение: Darwin 1.4 (OS X 10.1) Broken Compile, Snapshot and 7.1.3
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Darwin 1.4 (OS X 10.1) Broken Compile, Snapshot and 7.1.3