Re: Altering a table - positioning new columns - Mailing list pgsql-general

From Michael Meskes
Subject Re: Altering a table - positioning new columns
Date
Msg-id 20030120193818.GA16594@feivel.fam-meskes.de
Whole thread Raw
In response to Altering a table - positioning new columns  ("Chris Boget" <chris@wild.net>)
Responses Re: Altering a table - positioning new columns
List pgsql-general
On Mon, Jan 20, 2003 at 07:24:57AM -0600, Chris Boget wrote:
> ALTER TABLE blah ADD COLUMN newcol AFTER anothercol.
>
> Is something like this possible in PG?  Or are _all_ new columns
> added to the end of the column list?

This is exactly the reason why you should almost always acces your data
through views. Makes life so much easier.

Michael
--
Michael Meskes
Email: Michael@Fam-Meskes.De
ICQ: 179140304
Go SF 49ers! Go Rhein Fire! Use Debian GNU/Linux! Use PostgreSQL!

pgsql-general by date:

Previous
From: Greg Stark
Date:
Subject: Re: Question, how intelligent is optimizer with subplans?
Next
From: Stephan Szabo
Date:
Subject: Re: select like and indexes