Re: Alter Table - Mailing list pgsql-sql

From Scott Marlowe
Subject Re: Alter Table
Date
Msg-id 1173975198.12681.40.camel@state.g2switchworks.com
Whole thread Raw
In response to Alter Table  ("Shavonne Marietta Wijesinghe" <shavonne.marietta@studioform.it>)
List pgsql-sql
On Thu, 2007-03-15 at 08:35, Shavonne Marietta Wijesinghe wrote:
> When i alter a table and add a new column it always adds it to the end
> of the table. Is there any way to tell it to add the new column at the
> 5th position or to add the new column after a surtain column.

No, but the good news is you can just recreate the table once it's
stabilized in form with something like:

create table new_table as select field1, field4, field2, field3 from
old_table;


pgsql-sql by date:

Previous
From: "William Leite Araújo"
Date:
Subject: Re: join table with itself?
Next
From: T E Schmitz
Date:
Subject: Re: join table with itself?