how can we change definition of a table once created? - Mailing list pgsql-sql

From Bhuvan A
Subject how can we change definition of a table once created?
Date
Msg-id Pine.LNX.4.20.0107091125370.17170-100000@Larry.bks
Whole thread Raw
Responses Re: how can we change definition of a table once created?  (Stephan Szabo <sszabo@megazone23.bigpanda.com>)
List pgsql-sql
hello sirs,,

can any one say how can we change the table definition once
created?

say, we have a table with 1000s of records. if one needs
to change the data type of particular column or if he
needs to change the width of a column what should be
done? 

As of now, i am copying the data to a file(COPY COMMAND) and
creating a new table after deleting the old one and copying
the content of that file to the new table. 

is it the only way to do it?


Bhuvan.



pgsql-sql by date:

Previous
From: "J.Fernando Moyano"
Date:
Subject: TOTALLY OFFTOPIC !!
Next
From: Stephan Szabo
Date:
Subject: Re: how can we change definition of a table once created?