Re: Column storage positions

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Column storage positions
Дата
Msg-id 6843.1172126270@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Column storage positions  (Andrew Dunstan <andrew@dunslane.net>)
Ответы Re: Column storage positions  ("Phil Currier" <pcurrier@gmail.com>)
Список pgsql-hackers
Andrew Dunstan <andrew@dunslane.net> writes:
> Alvaro Herrera wrote:
>> Right, I'm not advocating not doing that -- I'm just saying that the
>> first step to that could be decoupling physical position with attr id
>> :-) Logical column ordering (the order in which SELECT * expands to)
>> seems to me to be a different feature.

> Except in the sense that divorcing the id from the storage order makes 
> it possible to do sanely. :-)

They are different features, but they are going to hit all the same
code, because the hardest part of this remains making sure that every
piece of the code is using the right kind of column number.  The
suggestion I posted awhile ago amounts to saying that we might be able
to solve that by default, by making sure that only one definition of
"column number" is relevant to the majority of the backend and we can
figure out exactly where the other definitions need to apply.  But
that's handwaving until someone actually does it :-(

In any case I think it's foolish not to tackle both issues at once.
We know we'd like to have both features and we know that all the same
bits of code need to be looked at to implement either.
        regards, tom lane


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

Предыдущее
От: Robert Treat
Дата:
Сообщение: Re: Log levels for checkpoint/bgwriter monitoring
Следующее
От: Warren Turkal
Дата:
Сообщение: infinity and DATE type