Re: URGENT!!! changing Column size

From: Theodore Petrosky <tedpet5(at)yahoo(dot)com>
To: mohan(at)physics(dot)gmu(dot)edu, pgsql-sql(at)postgresql(dot)org
Subject: Re: URGENT!!! changing Column size
Date: 2003-10-28 13:00:52
Message-ID: 20031028130052.54133.qmail@web41010.mail.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)physics(dot)gmu(dot)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(at)postgresql(dot)org)

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

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Franco Bruno Borghesi 2003-10-28 13:28:50 Re: URGENT!!! changing Column size
Previous Message sad 2003-10-28 11:53:54 bug in working with TEXT constants ?