Re: Proposal: In-Place upgrade concept

Поиск
Список
Период
Сортировка
От Zdenek Kotala
Тема Re: Proposal: In-Place upgrade concept
Дата
Msg-id 468A3381.3060907@sun.com
обсуждение исходный текст
Ответ на Re: Proposal: In-Place upgrade concept  (Heikki Linnakangas <heikki@enterprisedb.com>)
Список 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 по дате отправления:

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Re: Proposal: In-Place upgrade concept
Следующее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: Proposal: In-Place upgrade concept