Re: Column Ordering - Mailing list pgsql-novice

From Sean Davis
Subject Re: Column Ordering
Date
Msg-id 46E59D15.8050107@mail.nih.gov
Whole thread Raw
In response to Column Ordering  ("Ashish Karalkar" <ashish.karalkar@info-spectrum.com>)
Responses Re: Column Ordering
List pgsql-novice
Ashish Karalkar wrote:
> Hello All,
>
> I am having a table with  5 columns.
> I want to add another column by altering the table at 2nd position
> constraint is that I can not drop and recreate the table as column
> ordering is of importance.
> Is there anyway to do so.

No.  However, you could create a view with the column ordering you want,
after adding the new column.

Sean

pgsql-novice by date:

Previous
From: "Ashish Karalkar"
Date:
Subject: Column Ordering
Next
From: Richard Broersma Jr
Date:
Subject: Re: Column Ordering