Re: How to rename and drop a column in pg7.3? - Mailing list pgsql-sql

From
Subject Re: How to rename and drop a column in pg7.3?
Date
Msg-id 22043.219.65.233.66.1043981911.squirrel@mail.trade-india.com
Whole thread Raw
In response to How to rename and drop a column in pg7.3?  (Vernon Wu <vernonw@gatewaytech.com>)
List pgsql-sql

Hmmm... both are supported in 7.3.x

ALTER TABLE rtfm  RENAME f1 to f2 ;
ALTER TABLE rtfm  DROP COLUMN f3;

hope it helps.

regds
mallah.

>
> I need to rename and remove columns of a table. Is any new way to accomplish the two tasks in
> 7.3? I have searched  the online document and don't see any related information.
>
> Thanks,
>
> Vernon
>
>
>
> ---------------------------(end of broadcast)--------------------------- TIP 2: you can get off
> all lists at once with the unregister command
>    (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)



-----------------------------------------
Get your free web based email at trade-india.com.  "India's Leading B2B eMarketplace.!"
http://www.trade-india.com/




pgsql-sql by date:

Previous
From: Michael Weaver
Date:
Subject: FW: Converting clarion
Next
From: "Dan Langille"
Date:
Subject: design review, FreshPorts change