pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Frank Joerdens <frank@joerdens.de>
To: pgsql-sql@postgresql.org
Subject: ALTER TABLE and dropping a column
Date: Thu, 7 Feb 2002 23:25:13 +0100
Message-ID: <20020207232512.D6766@superfly.archi-me-des.de> (raw)

7.1 at least doesn't seem to support a 'DROP COLUMN' command as in

ALTER TABLE foo DROP COLUMN bar;

Is there a way to do that manually and safely, e.g. by manipulating
pg_class or pg_attribute? I found a couple of threads about it dating
from way back in summer 2000 and early 2001, but nothing conclusive.

Thanks, Frank



view thread (2+ messages)  latest in thread

Message-ID: <20020207232512.D6766@superfly.archi-me-des.de>
Permalink:  ../20020207232512.D6766@superfly.archi-me-des.de/
Also on:    postgresql.org/message-id/20020207232512.D6766@superfly.archi-me-des.de

 · 

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: frank@joerdens.de
  Subject: Re: ALTER TABLE and dropping a column
  In-Reply-To: <20020207232512.D6766@superfly.archi-me-des.de>

* 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