Re: URGENT!!! changing Column size - Mailing list pgsql-sql

From Theodore Petrosky
Subject Re: URGENT!!! changing Column size
Date
Msg-id 20031028130052.54133.qmail@web41010.mail.yahoo.com
Whole thread Raw
In response to URGENT!!! changing Column size  (mohan@physics.gmu.edu)
Responses Re: URGENT!!! changing Column size  (Franco Bruno Borghesi <franco@akyasociados.com.ar>)
List pgsql-sql
why not just

pg_dump dbname > olddb.out
pico olddb.out

edit the section that defines the table
save and exit

dropdb dbname
createdb dbname

psql dbname < olddb.out

no fuss no muss...

Ted

--- mohan@physics.gmu.edu wrote:
> Hi can we change the size of a column in postgres. I
> have a table named
> institution and column name is name varchar2(25), i
> want to change it to
> varchar2(50). Please let me know.
> 
> --Mohan
> 
> 
> 
> 
> 
> 
> ---------------------------(end of
> broadcast)---------------------------
> TIP 2: you can get off all lists at once with the
> unregister command
>     (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)

__________________________________
Do you Yahoo!?
Exclusive Video Premiere - Britney Spears
http://launch.yahoo.com/promos/britneyspears/


pgsql-sql by date:

Previous
From: "Kumar"
Date:
Subject: Re: Error message during compressed backup
Next
From: Franco Bruno Borghesi
Date:
Subject: Re: URGENT!!! changing Column size