pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Keith Gray <keith@heart.com.au>
To: Bruno Boettcher <bboett@erm1.u-strasbg.fr>
To: PostgreSQL <pgsql-sql@postgresql.org>
Subject: Re: where's ALTER TABLE table DROP [ COLUMN ] column???
Date: Fri, 25 May 2001 16:30:17 +1000
Message-ID: <3B0DFBF9.CEBDC3CC@heart.com.au> (raw)
References: <20010524004906.K12080@erm1.u-strasbg.fr>

Bruno Boettcher wrote:
> 
> Hello!
> 
> as far as i can tell, i can add columns to a table, but can't remove
> them later on.....
> 
> is this true? 

My thought would be that somebody must have written an 
automated version of 

select [all columns except named] from [named table] into droptemp;
drop [named table];
select * from droptemp into [named table];

Would this be available or easily written as a "rule" ??
Could anyone familiar with the code comment?

-- 
Keith Gray



view thread (2+ messages)

Message-ID: <3B0DFBF9.CEBDC3CC@heart.com.au>
Permalink:  ../3B0DFBF9.CEBDC3CC@heart.com.au/
Also on:    postgresql.org/message-id/3B0DFBF9.CEBDC3CC@heart.com.au

 · 

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: keith@heart.com.au, bboett@erm1.u-strasbg.fr
  Subject: Re: where's ALTER TABLE table DROP [ COLUMN ] column???
  In-Reply-To: <3B0DFBF9.CEBDC3CC@heart.com.au>

* 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