Changed a column type from "integer" to varchar - Mailing list pgsql-general

From Ying Lu
Subject Changed a column type from "integer" to varchar
Date
Msg-id 41475129.1060108@cs.concordia.ca
Whole thread Raw
Responses Re: Changed a column type from "integer" to varchar
Re: Changed a column type from "integer" to varchar
List pgsql-general
Hi,

I have a question about alter a column's type in a postgreSQL table.

For example, I have 10, 000 records in a table name "test", I'd like to
change column "machineID" type from integer to varchar. I am looking for
something like:

alter table test alter column machineID ... ... varchar

Thanks in advance,



pgsql-general by date:

Previous
From: "Jeffrey W. Baker"
Date:
Subject: Re: disk performance benchmarks
Next
From: "Joshua D. Drake"
Date:
Subject: Re: Changed a column type from "integer" to varchar