Re: pg_upgrade project status

Поиск
Список
Период
Сортировка
От Zdenek Kotala
Тема Re: pg_upgrade project status
Дата
Msg-id 4919B079.4090708@sun.com
обсуждение исходный текст
Ответ на Re: pg_upgrade project status  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-hackers
Bruce Momjian napsal(a):
> Zdenek Kotala wrote:
>> Bruce Momjian napsal(a):
>>> Zdenek Kotala wrote:

<snip>

>>>> 1) Data does not fit on the new page. It will be solve by pre-upgrade check 
>>>> which reserve space on each page, before upgrade.
>>> Rather than specifying free space as an amount, I was thinking of having
>>> a boolean like 'ready_for_upgrade' and the system internally would know
>>> how much free space for each page and tuple.
>> You need booth, flag which shows you that the relation/database is ready for 
>> upgrade and free space reservation configuration for each column. System cannot 
>> know it because PostgreSQL is not oracle :-). It does not know what will happend 
>> during next version development :-). It have to be setup by pre-upgrade script.
> 
> So every Postgres version will allow space reservation based on the
> table and page, and the pre-upgrade script will set those values based
> on the table's columns --- makes sense, and avoids the need for a minor
> update to Postgres to add new code --- good idea.

yes, exactly.
    Zdenek



В списке pgsql-hackers по дате отправления:

Предыдущее
От: "Hitoshi Harada"
Дата:
Сообщение: Re: Windowing Function Patch Review -> NTH_VALUE
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: Re: RAM-only temporary tables