From: | "Jim C(dot) Nasby" <jnasby(at)pervasive(dot)com> |
---|---|
To: | sandhya <sandhyar(at)amiindia(dot)co(dot)in> |
Cc: | Postgres <pgsql-admin(at)postgresql(dot)org> |
Subject: | Re: alter column type |
Date: | 2006-04-13 15:05:51 |
Message-ID: | 20060413150551.GR49405@pervasive.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
About the only thing you need to consider is that changing the type of a
column will re-write the entire table, and I'm pretty sure it will hold
an exclusive lock during that process.
On Mon, Apr 10, 2006 at 03:13:38PM +0530, sandhya wrote:
> Hi..
> If i want to change the datatype of a column in a table.....What are all the thigs i need to take care off.
> After somany records insertion if i change the datatype of the column..What will be the effect of it.
> Please tell me /give suggestion what needs to be cosider at the time of changing column type of a table.
>
> Incase of int to char/varchar/text/ etc.
> What are the different datatypes we should think about?
>
> Thank you,
> Sandhya
>
>
>
>
--
Jim C. Nasby, Sr. Engineering Consultant jnasby(at)pervasive(dot)com
Pervasive Software http://pervasive.com work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf cell: 512-569-9461
From | Date | Subject | |
---|---|---|---|
Next Message | Jim C. Nasby | 2006-04-13 15:12:37 | Re: Large scale PostgreSQL deployment. |
Previous Message | Rajesh Kumar Mallah | 2006-04-13 11:56:44 | Re: FW: Setting up of PITR system. |