Re: [1.4rc1] Can't change column type - Mailing list pgadmin-support

From Chris
Subject Re: [1.4rc1] Can't change column type
Date
Msg-id loom.20051106T093353-28@post.gmane.org
Whole thread Raw
In response to [1.4rc1] Can't change column type  (Chris <chris.velevitch@gmail.com>)
Responses Re: [1.4rc1] Can't change column type
Re: [1.4rc1] Can't change column type
List pgadmin-support
Joost Kraaijeveld <J.Kraaijeveld <at> Askesis.nl> writes:
> Does this work (replace the names according to your schema)?
> 
> BEGIN;
> ALTER TABLE table_name ADD COLUMN new_column varchar(64)?;
> UPDATE table_name SET new_column = column;
> ALTER TABLE customer RENAME column TO old_column;
> ALTER TABLE customer RENAME new_column TO columns;
> COMMIT;

In the end, I did this plu I dropped the old column, but what's the point of
having a tool like pgAdmin if common place everyday activities like this can't
be done?





pgadmin-support by date:

Previous
From: Joost Kraaijeveld
Date:
Subject: Re: [1.4rc1] Can't change column type
Next
From: Joost Kraaijeveld
Date:
Subject: Re: [1.4rc1] Can't change column type