RE: [HACKERS] Re: ALTER TABLE DROP COLUMN

Don Baccus <dhogaza@pacifier.com>

From: Don Baccus <dhogaza@pacifier.com>
To: The Hermit Hacker <scrappy@hub.org>, Hiroshi Inoue <Inoue@tpf.co.jp>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, PostgreSQL Development <pgsql-hackers@postgreSQL.org>
Date: 2000-02-28T05:30:06Z
Lists: pgsql-hackers
At 11:40 PM 2/27/00 -0400, The Hermit Hacker wrote:

>Okay, just curious here, but ... what you are proposing *sounds* to me
>like half-way to what started this thread. (*Please* correct me if I'm
>wrong) ...
>
>Essentially, in your proposal, when you drop a column, all subsequent
>tuples inserted/updated would have ... that one column missing?  So,
>instead of doing a massive sweep through the table and removing that
>column, only do it when an insert/update happens? 
>
>Basically, eliminate the requirement to re-write every tuples, only those
>that have activity?

Yes, this was one of the ideas that cropped up in previous discussion.



- Don Baccus, Portland OR <dhogaza@pacifier.com>
  Nature photos, on-line guides, Pacific Northwest
  Rare Bird Alert Service and other goodies at
  http://donb.photo.net.