From: Derek <derek.mailer@virgin.net>
To: pgsql-novice@postgresql.org
Subject: changing column data types
Date: Wed, 21 Feb 2001 15:45:03 -0000
Message-ID: <001901c09c1d$41eb53e0$0500a8c0@derek> (raw)
References: <0102130221570E.04183@kenlinux.bithub.org>
Excuse my ignorance, but I'm used to MySQL and I'm having problems trying to
convert a few columns from varchar to numeric. I attempted to get around
the problem by creating a new numeric column, but pgsql didn't like it when
I tried to copy the varchar column info into the numeric one.
Is there a painless way of changing a column type?
Thanks in advance for any help offered
Derek
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: derek.mailer@virgin.net, pgsql-novice@postgresql.org
Subject: Re: changing column data types
In-Reply-To: <001901c09c1d$41eb53e0$0500a8c0@derek>
References: <0102130221570E.04183@kenlinux.bithub.org> <001901c09c1d$41eb53e0$0500a8c0@derek>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox