Re: DROP COLUMN

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: DROP COLUMN
Дата
Msg-id 14111.1026919703@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: DROP COLUMN  (Hannu Krosing <hannu@tm.ee>)
Ответы Re: DROP COLUMN  ("Christopher Kings-Lynne" <chriskl@familyhealth.com.au>)
Список pgsql-hackers
Hannu Krosing <hannu@tm.ee> writes:
> All backend functions would still use real attnum's. And I doubt that
> backend will ever work though system views.
> Adding them should touch _only_ CREATE TABLE, ADD COLUMN, DROP COLUMN
> plus the system views and possibly output from SELECT(*), if we allow
> logical reordering of columns by changing attlognum.

Hmm.  That last point is attractive enough to make it interesting to do.

Christopher, you're the man doing the legwork ... what do you think?
Offhand I'd think that expansion of "SELECT *" and association of 
column aliases to specific columns would be the two places that would
need work to support attlognum; but we know they're both broken anyway
by introduction of dropped columns.
        regards, tom lane


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

Предыдущее
От: Christopher Kings-Lynne
Дата:
Сообщение: Re: need assignment
Следующее
От: "Ross J. Reedstrom"
Дата:
Сообщение: Re: need assignment