Re: Simple Column reordering

Поиск
Список
Период
Сортировка
От Lukas Kahwe Smith
Тема Re: Simple Column reordering
Дата
Msg-id erm89c$1g80$1@news.hub.org
обсуждение исходный текст
Ответ на Re: Simple Column reordering  ("Simon Riggs" <simon@2ndquadrant.com>)
Ответы Re: Simple Column reordering  ("Zeugswetter Andreas ADI SD" <ZeugswetterA@spardat.at>)
Re: Simple Column reordering  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-hackers
Simon Riggs wrote:

> If this is standards-breaking as you say, I would withdraw immediately.
> I checked the SQL standard and could not see how this would do so. The
> standard states SELECT * would return columns in order; it doesn't say
> what that order should be, nor does CREATE TABLE enforce the ordering to
> be the same as it has specified, AFAICS. Please correct me and I will
> withdraw. Practical issues seem far stronger drivers than standards
> issues here, which is why the parameter would default=off.

I did not follow the entire thread. I just wanted to point out that IIRC 
MS SQL Server (and maybe also Sybase) do automatically optimize the 
internal order of how columns are stored to move fixed length (which 
also means non NULLable for these two servers) columns to the left. 
Maybe this will serve as a reference point (not necessarily for 
standards compliance of course).

regards,
Lukas


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

Предыдущее
От: "Simon Riggs"
Дата:
Сообщение: Re: Simple Column reordering
Следующее
От: "Zeugswetter Andreas ADI SD"
Дата:
Сообщение: Re: Simple Column reordering