Re: [HACKERS] WIP: New Page API

2008-08-12 Thread Markus Wanner
Hi Zdenek, Zdenek Kotala wrote: It is not related to fork maps. The idea is to learn PostgreSQL process to read old data page structures. It is part of in-place upgrade and it was discussed on PGCon this year. You can see more info on http://wiki.postgresql.org/wiki/In-place_upgrade http://ww

Re: [HACKERS] WIP: New Page API

2008-08-12 Thread Zdenek Kotala
Markus Wanner napsal(a): Hi, Zdenek Kotala wrote: I finished first prototype of new page API. This might seem obvious to you, but could you please describe the problem you are trying to solve with this new page API? How does it relate to the relation forks, that have just been committed?

Re: [HACKERS] WIP: New Page API

2008-08-12 Thread Markus Wanner
Hi, Zdenek Kotala wrote: I finished first prototype of new page API. This might seem obvious to you, but could you please describe the problem you are trying to solve with this new page API? How does it relate to the relation forks, that have just been committed? Regards Markus -- Sent

[HACKERS] WIP: New Page API

2008-08-11 Thread Zdenek Kotala
I finished first prototype of new page API. It contains several new functions like: Pointer PageGetUpperPointer(Page page); void PageClearPrunable(Page page); bool PageIsComprimable(Page page); void PageReserveLinp(Page page); void PageReleaseLinp(Page page); LocationIndex PageGetLower(Page p