Re: Block-level CRC checks - Mailing list pgsql-hackers

From Zdenek Kotala
Subject Re: Block-level CRC checks
Date
Msg-id 4909D307.4040301@sun.com
Whole thread Raw
In response to Re: Block-level CRC checks  ("Jonah H. Harris" <jonah.harris@gmail.com>)
List pgsql-hackers
Jonah H. Harris napsal(a):
> On Thu, Oct 30, 2008 at 10:33 AM, Zdenek Kotala <Zdenek.Kotala@sun.com> wrote:
>> Please, DO NOT MOVE position of page version in PageHeader structure! And
>> PG_PAGE_LAYOUT_VERSION should be bump to 5.
> 
> Umm, any in-place upgrade should be capable of handling changes to the
> page header.  Of, did I miss something significant in the in-place
> upgrade design?

Not any change. If you move page header version field to another position it 
will require kind of magic to detect what version it is. Other field you can 
place everywhere :-), but do not touch page version. It will brings a lot of 
problems...
Zdenek


-- 
Zdenek Kotala              Sun Microsystems
Prague, Czech Republic     http://sun.com/postgresql



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Block-level CRC checks
Next
From: "Jonah H. Harris"
Date:
Subject: Re: Block-level CRC checks