Re: How to increase Column width of table

From: Christoph Haller <ch(at)rodos(dot)fzk(dot)de>
To: pgsql-sql(at)postgresql(dot)org
Cc: atul(at)imcindia(dot)net, xzilla(at)users(dot)sourceforge(dot)net, Andreas(dot)Pflug(at)web(dot)de
Subject: Re: How to increase Column width of table
Date: 2003-03-26 08:08:34
Message-ID: 3E816001.90019E7A@rodos.fzk.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

>
> http://fts.postgresql.org/db/mw/msg.html?mid=1071582
>
resp.
>
> You can rename your old column, create a new column varchar(100),
update
> ... set newCol=oldCol, drop oldCol and rename newCol to oldCol
> See ALTER TABLE doc for this.
>
Ok, this is the accurate solution to minimize side effects.
Thanks to Robert and Andreas for pointing this out.

Regards, Christoph

Browse pgsql-sql by date

  From Date Subject
Next Message Tomasz Myrta 2003-03-26 08:17:18 Re: Does anyone use TO_CHAR(INTERVAL)?
Previous Message Karel Zak 2003-03-26 07:10:39 Re: Does anyone use TO_CHAR(INTERVAL)?