Re: Wiki Page Draft for upcoming release - Mailing list pgsql-hackers

From Josh Berkus
Subject Re: Wiki Page Draft for upcoming release
Date
Msg-id 5328A698.2000609@agliodbs.com
Whole thread Raw
In response to Wiki Page Draft for upcoming release  (Josh Berkus <josh@agliodbs.com>)
List pgsql-hackers
On 03/18/2014 12:55 PM, Andres Freund wrote:
> On 2014-03-18 12:52:49 -0700, Josh Berkus wrote:
>> On 03/18/2014 12:35 PM, Andres Freund wrote:
>>> I still think a rewriting noop ALTER TABLE ... ALTER COLUMN col TYPE
>>> old_type USING (col); is the only real thing to do.
>>
>> Then why wouldn't VACUUM FULL work?
> 
> Please read the referenced message and children. It will use
> rewriteheap.c which tries to maintain the update chains.

Reading ... hmmm.  Well, the ALTER TABLE thing may work, but I'm really
hesitant to recommend it as a general solution for our users; it doesn't
look repliable.  Too bad we don't have a handy corrupted database to
practice on.

I will note that VACUUM FULL doesn't work either.

-- 
Josh Berkus
PostgreSQL Experts Inc.
http://pgexperts.com



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: Wiki Page Draft for upcoming release
Next
From: Robert Haas
Date:
Subject: Re: [WIP] Better partial index-only scans