Re: COLUMN MODIFY

From: Kevin Brown <kevin(at)sysexperts(dot)com>
To: Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: COLUMN MODIFY
Date: 2003-01-13 07:38:33
Message-ID: 20030113073833.GJ20180@filer
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Bruce Momjian wrote:
>
> Sorry to be commenting so late.
>
> We could do that CLUSTER way of making a new heap file, but we rejected
> that for DROP COLUMN, so I am not sure why we would use that for ALTER
> COLUMN. Can anyone think of a good reason?
>
> Clearly if the new data type is binary compatible and it is just a
> catalog change, we can do that in place.

...with the caveat that any indexes that refer to the column must be
rebuilt, since the value interpretation could be quite different.

Guess that's obvious enough, though...

Kevin, a.k.a. "Mr. Obvious" :-)

--
Kevin Brown kevin(at)sysexperts(dot)com

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Giles Lean 2003-01-13 08:31:08 Re: sync()
Previous Message Kevin Brown 2003-01-13 07:32:07 Re: sync()