Re: Simple Column reordering - Mailing list pgsql-hackers

From Simon Riggs
Subject Re: Simple Column reordering
Date
Msg-id 1172216810.3874.236.camel@silverbirch.site
Whole thread Raw
In response to Re: Simple Column reordering  (Alvaro Herrera <alvherre@commandprompt.com>)
List pgsql-hackers
On Thu, 2007-02-22 at 23:49 -0300, Alvaro Herrera wrote:
> Andrew Dunstan wrote:
> > Simon Riggs wrote:
> > >
> > > I propose that at CREATE TABLE time, the column ordering is re-ordered
> > > so that the table columns are packed more efficiently. This would be a
> > > physical re-ordering, so that SELECT * and COPY without explicit column
> > > definitions would differ from the original CREATE TABLE statement.
> > >
> > > This would be an optional feature, off by default, controlled by a
> > > USERSET GUC
> > >     optimize_column_order = off (default) | on
> > 
> > Umm, you want a GUC setting to enable standards-breaking behaviour and
> > that will be obsolete when we do column ordering right, which is not
> > likely to be more than one release away, and could even still happen in
> > this coming release?
> 
> Given that we already seem to have a patch implementing a complete
> solution, or part thereof, this would seem a rather shortsighted
> proposal.  Why not develop the whole thing and be done with it?

That would be my preference, but if it doesn't happen, I wanted to have
a clear secondary proposal documented.

--  Simon Riggs              EnterpriseDB   http://www.enterprisedb.com




pgsql-hackers by date:

Previous
From: Robert Treat
Date:
Subject: Re: tsearch in core patch, for inclusion
Next
From: Lukas Kahwe Smith
Date:
Subject: Re: SCMS question