Re: [patch] ALTER RENAME and indexes

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [patch] ALTER RENAME and indexes
Дата
Msg-id 20878.1002601242@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [patch] ALTER RENAME and indexes  (Brent Verner <brent@rcfile.org>)
Список pgsql-hackers
Brent Verner <brent@rcfile.org> writes:
> Thanks for fixing that problem.  Out of curiousity, did you put that
> code in the renameatt() function for any reason, or is it just a 
> style thing?

Just to avoid closing and reopening the target relation and pg_attribute
relation.  Releasing and then reacquiring the lock on pg_attribute
seemed like a not-so-good idea, although it probably shouldn't make any
difference.
        regards, tom lane


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