Re: Production block comparison facility - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: Production block comparison facility
Date
Msg-id CAB7nPqSjZzBnBRnO0P-8vf4-gdrrGbkP_kW9WHj4H_nDzLu7eA@mail.gmail.com
Whole thread Raw
In response to Re: Production block comparison facility  (Andres Freund <andres@2ndquadrant.com>)
List pgsql-hackers
On Thu, Jul 24, 2014 at 8:36 PM, Andres Freund <andres@2ndquadrant.com> wrote:
> On 2014-07-24 20:35:04 +0900, Michael Paquier wrote:
>> - FPW/page consistency check is done after converting them to hex.
>> This is done only this way to facilitate viewing the page diffs with a
>> debugger. A best method would be to perform the checks using
>> MASK_MARKER (which should be moved to bufmask.h btw). It may be better
>> to put all this hex magic within a WAL_DEBUG ifdef.
>
> Can't you just do "p/x whatever" in the debugger to display things in
> hex?
Well yes :p
-- 
Michael



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: Production block comparison facility
Next
From: "Braunstein, Alan"
Date:
Subject: Re: Exporting Table-Specified BLOBs Only?