Re: How to increase Column width of table - Mailing list pgsql-sql

From Christoph Haller
Subject Re: How to increase Column width of table
Date
Msg-id 3E816001.90019E7A@rodos.fzk.de
Whole thread Raw
List 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



pgsql-sql by date:

Previous
From: Karel Zak
Date:
Subject: Re: Does anyone use TO_CHAR(INTERVAL)?
Next
From: Tomasz Myrta
Date:
Subject: Re: Does anyone use TO_CHAR(INTERVAL)?