Re: WIP: pre-upgrade page reservation
| От | Zdenek Kotala |
|---|---|
| Тема | Re: WIP: pre-upgrade page reservation |
| Дата | |
| Msg-id | 4948D221.10802@sun.com обсуждение исходный текст |
| Ответ на | Re: WIP: pre-upgrade page reservation (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>) |
| Ответы |
Re: WIP: pre-upgrade page reservation
|
| Список | pgsql-hackers |
Heikki Linnakangas napsal(a):
> Zdenek Kotala wrote:
>> BTree space reservation is more complicated.
>
> Do you need to pre-reserve the space for b-tree? I think you can just
> split it at upgrade, in the new version. The problem with doing that for
> heaps is that to move a heap tuple you need to update the index
> pointers, but for indexes there's no such restriction.
The problem is that I need to know parent and modify parent as well. But you
don't know what is your parent node. You need to know root and go from root.
It is why I think that it is not doable online.
Correct me if I'm wrong.
thanks Zdenek
В списке pgsql-hackers по дате отправления: