Received: from mta3-svc.virgin.net (mta3-win.server.ntli.net [62.253.164.43]) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id f1LFR6x90311 for ; Wed, 21 Feb 2001 10:27:06 -0500 (EST) (envelope-from derek.mailer@virgin.net) Received: from derek ([62.252.132.70]) by mta3-svc.virgin.net (InterMail vM.4.01.02.27 201-229-119-110) with SMTP id <20010221152701.CNGO4343.mta3-svc.virgin.net@derek> for ; Wed, 21 Feb 2001 15:27:01 +0000 Message-ID: <001901c09c1d$41eb53e0$0500a8c0@derek> From: "Derek" To: References: <0102130221570E.04183@kenlinux.bithub.org> Subject: changing column data types Date: Wed, 21 Feb 2001 15:45:03 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 X-Archive-Number: 200102/105 X-Sequence-Number: 901 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