Re: Simple Column reordering

Поиск
Список
Период
Сортировка
От Jim C. Nasby
Тема Re: Simple Column reordering
Дата
Msg-id 20070223155000.GH19527@nasby.net
обсуждение исходный текст
Ответ на Re: Simple Column reordering  ("Simon Riggs" <simon@2ndquadrant.com>)
Ответы Re: Simple Column reordering  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-hackers
On Fri, Feb 23, 2007 at 02:09:55PM +0000, Simon Riggs wrote:
> > If you really want an interim solution, what about a builtin function 
> > that would explicitly mutate the definition and table contents (if any) 
> > along the lines you want? (assuming that's lots less work than just 
> > doing the whole thing right to start with). Or even one which just 
> > *displayed* the optimal order might be sufficient assistance to DBAs who 
> > want to take advantage of this.
> 
> I think the only interim solution now is to put functionality into
> PgAdmin et al to optimize the column order.

Well, if it comes to that it would be good to have pgAdmin et all driven
by logic in the database, so that people using psql can benefit as well.
Perhaps a function that is passed an existing table and re-creates it in
optimal order (if it's empty...). Or at least spits out a CREATE TABLE
statement for you that's in optimal order.
-- 
Jim Nasby                                            jim@nasby.net
EnterpriseDB      http://enterprisedb.com      512.569.9461 (cell)


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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: osprey dumped core on 8.2
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: Simple Column reordering