From: | Jyry Kuukkanen <jyry(at)neutech(dot)fi> |
---|---|
To: | Lucas Rockwell <lr(at)socrates(dot)Berkeley(dot)EDU> |
Cc: | <pgsql-admin(at)postgresql(dot)org> |
Subject: | Re: no drop column?! |
Date: | 2002-03-25 07:11:35 |
Message-ID: | Pine.LNX.4.33L0.0203250904230.5043-100000@cyclone.neutech.fi |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin pgsql-sql |
On Sun, 24 Mar 2002, Lucas Rockwell wrote:
> bavc=> alter table staff drop column date_created cascade;
> ERROR: ALTER TABLE / DROP COLUMN is not implemented
>
> is this true???!!! i am using PostgreSQL 7.2.
>
> -lucas
Hello lucas
Yes, it is true -- with Pgsql 7.3, too.
There is a way to get around it, however, but requires creating temp
table, selecting, inserting and renaming back to original name. The php
user's guide explains this in detail.
But there is an easier way to do this, once you heve installed phpPgAdmin
(http://phppgadmin.sourceforge.net) phpPgAdmin automates the procedure to
create/select/insert/rename to one click.
--jq
--Jyry
C:-( C:-/ C========8-O C8-/ C:-(
From | Date | Subject | |
---|---|---|---|
Next Message | Ariunbold Gerelt-Od | 2002-03-25 07:25:23 | Group By Time Stamp |
Previous Message | Dan Langille | 2002-03-25 04:56:23 | Re: [ADMIN] no drop column?! |
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2002-03-25 07:45:09 | Re: About EXECUTE in pl/pgsql |
Previous Message | Dan Langille | 2002-03-25 04:56:23 | Re: [ADMIN] no drop column?! |