pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Brusser <michael@synchronicity.com>
To: pgsql-admin@postgresql.org
Subject: How to drop column
Date: Tue, 11 Mar 2003 18:06:23 -0500
Message-ID: <DEEIJKLFNJGBEMBLBAHCIENKCOAA.michael@synchronicity.com> (raw)

Postgres 7.2 does not support 'drop column'
One apparent way of handling that seems to create the new table,
copy data from the original one, drop original and rename the new table.
However original table may have foreign keys and dependencies, so I may
not be able to drop it.
Is there a clear path to handle this situation?

Thank you,
Mike.







Message-ID: <DEEIJKLFNJGBEMBLBAHCIENKCOAA.michael@synchronicity.com>
Permalink:  ../DEEIJKLFNJGBEMBLBAHCIENKCOAA.michael@synchronicity.com/
Also on:    postgresql.org/message-id/DEEIJKLFNJGBEMBLBAHCIENKCOAA.michael@synchronicity.com

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: michael@synchronicity.com
  Subject: Re: How to drop column
  In-Reply-To: <DEEIJKLFNJGBEMBLBAHCIENKCOAA.michael@synchronicity.com>
  References: <DEEIJKLFNJGBEMBLBAHCIENKCOAA.michael@synchronicity.com>

* 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