Re: Proposal: In-Place upgrade concept

From: Zdenek Kotala <Zdenek(dot)Kotala(at)Sun(dot)COM>
To: Heikki Linnakangas <heikki(at)enterprisedb(dot)com>
Cc: Gregory Stark <stark(at)enterprisedb(dot)com>, PostgreSQL-development Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Proposal: In-Place upgrade concept
Date: 2007-07-03 11:31:13
Message-ID: 468A3381.3060907@sun.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Martijn van Oosterhout 2007-07-03 12:59:19 Re: Proposal: In-Place upgrade concept
Previous Message Heikki Linnakangas 2007-07-03 11:05:07 Re: Proposal: In-Place upgrade concept