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
Список 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 по дате отправления: