Re: show xl_prev in xlog.c errcontext

From: Heikki Linnakangas <hlinnaka(at)iki(dot)fi>
To: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: show xl_prev in xlog.c errcontext
Date: 2015-04-16 06:25:37
Message-ID: 552F55E1.5060806@iki.fi
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 04/15/2015 11:35 PM, Alvaro Herrera wrote:
> I found this patch in my local repo that I wrote some weeks or months
> ago while debugging some XLog corruption problem: it was difficult to
> pinpoint what XLog record in a long sequence of WAL files was causing a
> problem, and the displaying the prev pointer in errcontext made finding
> it much easier -- I could correlate it with pg_xlogdump output, I think.

Seems like a good idea, but why print the prev pointer, and not the
location of the record itself?

- Heikki

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2015-04-16 06:36:04 Re: show xl_prev in xlog.c errcontext
Previous Message Kyotaro HORIGUCHI 2015-04-16 06:18:08 Re: inherit support for foreign tables