Re: logical column position

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: logical column position
Дата
Msg-id 23101.1069440602@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: logical column position  (Andreas Pflug <pgadmin@pse-consulting.de>)
Ответы Re: logical column position
Список pgsql-hackers
Andreas Pflug <pgadmin@pse-consulting.de> writes:
> To put it differently: a ALTER COLUMN command may never-ever change the 
> identifier of the column, i.e. attrelid/attnum.

If the ALTER is changing the column type, it's not really the same
column anymore; I see nothing wrong with assigning a new attnum in that
scenario.  It's not like you can simply change the type and not go visit
the references in such a case.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Build farm
Следующее
От: Andreas Pflug
Дата:
Сообщение: Re: logical column position