| От | Tom Lane |
|---|---|
| Тема | Re: [patch] ALTER RENAME and indexes |
| Дата | |
| Msg-id | 10967.1002566587@sss.pgh.pa.us обсуждение |
| Ответ на | [patch] ALTER RENAME and indexes (Brent Verner <brent@rcfile.org>) |
| Ответы |
Re: [patch] ALTER RENAME and indexes
|
| Список | pgsql-hackers |
Brent Verner <brent@rcfile.org> writes:
> wooohoo!!! Of course, it would be best if someone else looked this
> code over, because I get the feeling there is an easier way to get
> this done.
No, that's about right, except that you forgot one step: you shouldn't
try to update column names of functional indexes, since their columns
are named after the function not the column. If the function name
happened to match the column name then you'd have applied an erroneous
renaming.
Fixed and applied to CVS.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера