Re: Add column and specify the column position in a table

From: "Samer Abukhait" <abukhait(at)gmail(dot)com>
To: emilu(at)encs(dot)concordia(dot)ca
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Add column and specify the column position in a table
Date: 2006-05-18 00:43:35
Message-ID: 7d215b0c0605171743h7191ab6ft86b58eb8adca442@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

the position doesn't really matter in any relational structure.. does it?

On 5/17/06, Emi Lu <emilu(at)encs(dot)concordia(dot)ca> wrote:
> Hello,
>
> I am trying to insert one column to a specific position in a table.
>
> In mysql, I can do:
> . create table test(id varchar(3), name varchar(12));
> . alter table test add column givename varchar(12) after id;
>
>
> I am looking for similar things in postgresql to add a new column to the
> correct position in a table.
>
> Could someone hint me please.
>
> Thanks alot!
> Ying Lu
>
>
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: explain analyze is your friend
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tim Allen 2006-05-18 01:52:33 Re: Contributing code
Previous Message John DeSoi 2006-05-17 23:53:40 Re: Server/Database/Schema Definitions