Re: Proposal: In-Place upgrade concept - Mailing list pgsql-hackers

From Zdenek Kotala
Subject Re: Proposal: In-Place upgrade concept
Date
Msg-id 468A3381.3060907@sun.com
Whole thread Raw
In response to Re: Proposal: In-Place upgrade concept  (Heikki Linnakangas <heikki@enterprisedb.com>)
List pgsql-hackers
Heikki Linnakangas wrote:
> Gregory Stark wrote:

> 
>> Conceivably we could grab another infomask bit to indicate "uses 
>> new-style
>> varlenas" and then have heaptuple.c understand how to convert them in 
>> place.
>> But that leads to a ton of memory management or page locking problems.
> 
> My thinking is that when a page in the old format is read in, it's 
> converted to the new format before doing anything else with it.

Yes, I agree with Heikki. Any other place for conversion will generate a 
big complexity of maintanace.
    Zdenek




pgsql-hackers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: Proposal: In-Place upgrade concept
Next
From: Martijn van Oosterhout
Date:
Subject: Re: Proposal: In-Place upgrade concept