Re: Changing the type of a column ? - Mailing list pgsql-admin

From Grant
Subject Re: Changing the type of a column ?
Date
Msg-id Pine.LNX.4.21.0103011536580.4592-100000@webster.conprojan.com.au
Whole thread Raw
In response to Changing the type of a column ?  (Bayet Richard <bayet@enseirb.fr>)
List pgsql-admin
> Is it possible to directly change the type of a column (eg: from int4 to
> date) or does one have to first add a column of the desired type, copy
> the first column's content, then drop this first column ?

No it's not possible. Your solution is correct.


pgsql-admin by date:

Previous
From: Bayet Richard
Date:
Subject: Changing the type of a column ?
Next
From: Richard Bayet
Date:
Subject: Re: Changing the type of a column ?