Re: ALTER COLUMN/logical column position

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: ALTER COLUMN/logical column position
Дата
Msg-id Pine.LNX.4.44.0311201637350.26458-100000@peter.localdomain
обсуждение исходный текст
Ответ на Re: ALTER COLUMN/logical column position  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: ALTER COLUMN/logical column position
Список pgsql-hackers
Tom Lane writes:

> Exactly.  I'm considerably more worried about breaking out-of-the-way
> places in the backend than I am about what order someone's admin tool
> presents the columns in.

Clearly, the effort of adding logical column numbers will consist of
making choices between physical and logical numbers in the backend in some
places.  So one option is to replace some uses of attnum by attlognum.
The other optionis to replace *all* uses of attnum by attphysnum and then
replace some uses of attphysnum by attnum.  To me, this looks like an
equal "risk" as far as the backend goes.

-- 
Peter Eisentraut   peter_e@gmx.net



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: logical column position
Следующее
От: Tom Lane
Дата:
Сообщение: Re: ALTER COLUMN/logical column position