Re: alter table change type column - Mailing list pgsql-general

From Dennis Gearon
Subject Re: alter table change type column
Date
Msg-id 3E7F3A80.4040905@cvc.net
Whole thread Raw
In response to Re: alter table change type column  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: alter table change type column
List pgsql-general
And then redo all the triggers and indexes also?

Bruce Momjian wrote:
> No, we have not implemented that.  You can add a column, copy the data
> over from the old column, then drop the old column and rename the new
> column.
>
>
> ---------------------------------------------------------------------------
>
> =?iso-8859-1?Q?frank=5Flupo?= wrote:
>
>>Is possible to alter table change type of column?
>>
>>
>>Bye !!
>>Frank Lupo (Wolf) !!
>>
>>    /\_ _/\
>>    \ o o /
>>--ooo-----ooo---
>>
>>
>>
>>--
>>Prendi GRATIS l'email universale che... risparmia: http://www.email.it/f
>>
>>Sponsor:
>>Conto Arancio, il migliore amico dei tuoi risparmi.
>>Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=668&d=24-3
>>
>>
>>---------------------------(end of broadcast)---------------------------
>>TIP 6: Have you searched our list archives?
>>
>>http://archives.postgresql.org
>>
>
>


pgsql-general by date:

Previous
From: Dennis Gearon
Date:
Subject: Re: Avoiding duplications in tables
Next
From: Andrew Sullivan
Date:
Subject: Re: Point in time recovery?