Re: ALTER TYPE recursion to typed tables

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: ALTER TYPE recursion to typed tables
Дата
Msg-id 1290545615.24521.7.camel@vanquo.pezone.net
обсуждение исходный текст
Ответ на Re: ALTER TYPE recursion to typed tables  (Dimitri Fontaine <dimitri@2ndQuadrant.fr>)
Список pgsql-hackers
On ons, 2010-11-17 at 21:05 +0100, Dimitri Fontaine wrote:
> Code wise, though, I wonder about the name of the "recursing"
> parameter of the renameatt_internal function is
> src/backend/commands/tablecmds.c,
> which seems to only get used to detect erroneous attempt at renaming
> the table column directly. Maybe it's only me not used enough to
> PostgreSQL code yet, but here it distract the code reader. Having
> another parameter called "recurse" is not helping, too, but I don't
> see this one needs to be changed.

This parameter has only minimal use in the renameatt case, but the same
terminology is used throughout the ALTER TABLE code, so I think it's
wise to keep it.



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

Предыдущее
От: Eliot Gable
Дата:
Сообщение: Horizontal Write Scaling
Следующее
От: Eliot Gable
Дата:
Сообщение: Re: Horizontal Write Scaling