Re: WIP: splitting BLCKSZ - Mailing list pgsql-patches

From Simon Riggs
Subject Re: WIP: splitting BLCKSZ
Date
Msg-id 1144168408.13549.506.camel@localhost.localdomain
Whole thread Raw
In response to Re: WIP: splitting BLCKSZ  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: WIP: splitting BLCKSZ  (Simon Riggs <simon@2ndquadrant.com>)
Re: WIP: splitting BLCKSZ  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-patches
On Tue, 2006-04-04 at 11:13 -0400, Tom Lane wrote:
> Simon Riggs <simon@2ndquadrant.com> writes:
> > I see you've changed the control file back from XLOG_BLCKSZ to BLCKSZ; I
> > wasn't sure which one of those to choose.
>
> Hm.  The entire point of having a BLCKSZ-sized control file is to have
> it *not* change in size across format revisions (see the comments) ...
> which I suppose means that we really ought to have a hard-wired separate
> constant, rather than depending on something that someone might want to
> twiddle.

Patch enclosed.

Tests with make check and this sequence of actions works fine also...
initdb b512
pg_controldata b512
pg_resetxlog b512
pg_controldata b512

Best Regards, Simon Riggs

Attachment

pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: WIP: splitting BLCKSZ
Next
From: Simon Riggs
Date:
Subject: Re: WIP: splitting BLCKSZ