Add column and specify the column position in a table - Mailing list pgsql-general

From Emi Lu
Subject Add column and specify the column position in a table
Date
Msg-id 446B93B1.8040005@encs.concordia.ca
Whole thread Raw
Responses RES: Add column and specify the column position in a table  ("Alejandro Michelin Salomon \( Adinet \)" <alejmsg@adinet.com.uy>)
Re: Add column and specify the column position in a table  ("Joshua D. Drake" <jd@commandprompt.com>)
Re: Add column and specify the column position in a table  ("Samer Abukhait" <abukhait@gmail.com>)
List pgsql-general
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





pgsql-general by date:

Previous
From: Tony Caduto
Date:
Subject: Re: PG_DIAG_STATEMENT_POSITION Where is it defined?
Next
From: "Alejandro Michelin Salomon \( Adinet \)"
Date:
Subject: RES: Add column and specify the column position in a table