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

From Andres Freund
Subject Re: Production block comparison facility
Date
Msg-id 20140724113645.GC16857@alap3.anarazel.de
Whole thread Raw
In response to Re: Production block comparison facility  (Michael Paquier <michael.paquier@gmail.com>)
Responses Re: Production block comparison facility
List pgsql-hackers
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?

Greetings,

Andres Freund

-- Andres Freund                       http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training &
Services



pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: Production block comparison facility
Next
From: Michael Paquier
Date:
Subject: Re: Production block comparison facility