pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ying Lu <ying_lu@cs.concordia.ca>
To: pgsql-sql@postgresql.org
Subject: About "Alter table... alter column.. TYPE ... "
Date: Mon, 18 Apr 2005 16:38:49 -0400
Message-ID: <42641AD9.60708@cs.concordia.ca> (raw)

Hello,

To alter table column from varchar(32) to date. "Alter table" command 
does not seem to work:

alter table test  alter column col type date ;
ERROR:  column "col1" cannot be cast to type "date"

Tks,
Emi




view thread (2+ messages)  latest in thread

Message-ID: <42641AD9.60708@cs.concordia.ca>
Permalink:  ../42641AD9.60708@cs.concordia.ca/
Also on:    postgresql.org/message-id/42641AD9.60708@cs.concordia.ca

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: ying_lu@cs.concordia.ca
  Subject: Re: About "Alter table... alter column.. TYPE ... "
  In-Reply-To: <42641AD9.60708@cs.concordia.ca>

* 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