pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Phill Kenoyer <pgsql@c0de.net>
To: Jodi Kanter <jkanter@virginia.edu>
Cc: Postgres Admin List <pgsql-admin@postgresql.org>
Subject: Re: drop column?
Date: Wed, 23 Jan 2002 12:29:05 -0800
Message-ID: <20020123202905.GB16670@home.c0de.net> (raw)
In-Reply-To: <008401c1a447$cd0402f0$de138f80@virginia.edu>
References: <008401c1a447$cd0402f0$de138f80@virginia.edu>

This is something I have been wanting for a long time.  The ability to
update or drop a column from a table.

Right now you have to select the columns you want into a temp table and
drop the working table and rename the temp table to the working table.

|On 020123 12:15
|Jodi Kanter (jkanter@virginia.edu) wrote the following...
|
|I cannot seem to locate any documentation about removing a column that I just added to a table. There is no data in that particular column but there is in the rest of the table.
|Can I remove this column or will I need to drop the entire table and restore from backup?
|Thanks
|Jodi
|_______________________________
|Jodi L Kanter
|BioInformatics Database Administrator
|University of Virginia
|(434) 924-2846
|jkanter@virginia.edu
-- 
BOFH Reason of the day: not properly grounded, please bury computer
                                               _   |       _           
                                              (_()(|('.|)('||.|()|`|(



view thread (8+ messages)  latest in thread

Message-ID: <20020123202905.GB16670@home.c0de.net>
Permalink:  ../20020123202905.GB16670@home.c0de.net/
Also on:    postgresql.org/message-id/20020123202905.GB16670@home.c0de.net

 · 

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: pgsql@c0de.net, jkanter@virginia.edu
  Subject: Re: drop column?
  In-Reply-To: <20020123202905.GB16670@home.c0de.net>
  References: <008401c1a447$cd0402f0$de138f80@virginia.edu> <20020123202905.GB16670@home.c0de.net>

* 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