pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Devrim GUNDUZ <devrim@gunduz.org>
To: PostgreSQL Mailing Lists-SQL <pgsql-sql@postgresql.org>
Cc: PostgreSQL Mailing Lists-SQL <pgsql-sql@postgresql.org>
Subject: Re: Error with DROP column
Date: Mon, 27 Oct 2003 21:49:41 +0200 (EET)
Message-ID: <Pine.LNX.4.44.0310272143340.19831-100000@emo.org.tr> (raw)
In-Reply-To: <62967.138.88.163.115.1067283344.squirrel@physics.gmu.edu>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Hi,

On Mon, 27 Oct 2003 mohan@physics.gmu.edu wrote:

> Hi All i am trying to DROP the column but i keep getting this error.
> 
>  ALTER TABLE institution DROP COLUMN name CASCADE;
> ERROR:  ALTER TABLE / DROP COLUMN is not implemented

I think you are using an old version of PostgreSQL. AFAIR this 
functionality was implemented on 7.3. Here is mine:

*******************************************
postgres@[local]:test=# SELECT version();
                                                 version
- ---------------------------------------------------------------------------------------------------------
 PostgreSQL 7.3.4 on i686-pc-linux-gnu, compiled by GCC gcc (GCC) 3.2.2 
20030222 (Red Hat Linux 3.2.2-5)
(1 row)

postgres@[local]:test=# ALTER TABLE institution drop column name;
ALTER TABLE

*******************************************

Maybe you should upgrade your PostgreSQL.

Regards,
- -- 
Devrim GUNDUZ
devrim@gunduz.org				devrim.gunduz@linux.org.tr 
			http://www.tdmsoft.com
			http://www.gunduz.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE/nXbYtl86P3SPfQ4RAqScAKDsSSSG7KYiM/TnBRguaG5hRF6MIACgwbfu
ZdGWzsBbtu486c0BreFFlmA=
=hFr5
-----END PGP SIGNATURE-----




view thread (3+ messages)

Message-ID: <Pine.LNX.4.44.0310272143340.19831-100000@emo.org.tr>
Permalink:  ../Pine.LNX.4.44.0310272143340.19831-100000@emo.org.tr/
Also on:    postgresql.org/message-id/Pine.LNX.4.44.0310272143340.19831-100000@emo.org.tr

 · 

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: devrim@gunduz.org
  Subject: Re: Error with DROP column
  In-Reply-To: <Pine.LNX.4.44.0310272143340.19831-100000@emo.org.tr>

* 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