Re: PG_PAGE_LAYOUT_VERSION 5 - time for change - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: PG_PAGE_LAYOUT_VERSION 5 - time for change
Date
Msg-id 20081117140957.GA15795@alvh.no-ip.org
Whole thread Raw
In response to Re: PG_PAGE_LAYOUT_VERSION 5 - time for change  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
Responses Re: PG_PAGE_LAYOUT_VERSION 5 - time for change  (Zdenek Kotala <Zdenek.Kotala@Sun.COM>)
List pgsql-hackers
Heikki Linnakangas wrote:

> Hmm, you're right. I think it can be made to work by storing the *end*  
> offset of each chunk. To find the chunk containing offset X, search for  
> the first chunk with end_offset > X.

FWIW I'm trying to do this.  So far I've managed to make the basic thing
work, and I'm about to have a look at the slice interface.

(Quick note so that nobody wastes their time doing the same thing)

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


pgsql-hackers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: [PATCHES] Infrastructure changes for recovery (v8)
Next
From: Heikki Linnakangas
Date:
Subject: Re: [PATCHES] Infrastructure changes for recovery (v8)