I\'d like to change the column type from an int to a uuid. I am using the following statement
int
uuid
ALTER TABLE tableA ALTER COLUMN colA
In PostgreSQL 9.3 you can do this:
ALTER TABLE "tableA" ALTER COLUMN "ColA" SET DATA TYPE UUID USING "ColA"::UUID;
And cast the type of data to UUID and this will avoid the error message.
UUID