trying to alter column

From: Aras Angelo <araskoktas(at)gmail(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: trying to alter column
Date: 2009-08-20 00:20:45
Message-ID: 5136d4130908191720q2bcd2cffo2db54da183d793f2@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Im trying to alter a column type from character varying(8) to int.
All the values in the column are numbers but im getting this message

column "xxxxxx" cannot be cast to type integer

Dropping and readding the column is an option but downtime is very critical
to us, so i was wondering
if im doing something wrong and i can alter type somehow.

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Scott Marlowe 2009-08-20 02:44:06 Re: trying to alter column
Previous Message Greg Stark 2009-08-19 19:47:49 Re: Background triggers?