Re: 8.5 TODO: any info on "Create dump tool for write-ahead logs..." in PITR section (1.4)? - Mailing list pgsql-hackers

From Fujii Masao
Subject Re: 8.5 TODO: any info on "Create dump tool for write-ahead logs..." in PITR section (1.4)?
Date
Msg-id 3f0b79eb0910041928y7b3bc918wf756ac32e46bebf@mail.gmail.com
Whole thread Raw
In response to 8.5 TODO: any info on "Create dump tool for write-ahead logs..." in PITR section (1.4)?  ("shakahshakah@gmail.com" <shakahshakah@gmail.com>)
Responses Re: 8.5 TODO: any info on "Create dump tool for write-ahead logs..." in PITR section (1.4)?
List pgsql-hackers
Hi,

On Sat, Oct 3, 2009 at 7:30 AM, shakahshakah@gmail.com
<shakahshakah@gmail.com> wrote:
> Can anyone elaborate (or point me to some additional info) on the 8.5
> TODO item in the "Point-In-Time Recover (PITR) section (1.4)":
>  Create dump tool for write-ahead logs for use in determining
> transaction id for point-in-time recovery
>     This is useful for checking PITR recovery.
>
> I poked around a bit and found some code that "walks" the WAL logs (in
> src/backend/access/transam/xlog.c, I think) and I could probably
> figure out how to display a WAL log file contents, but I'm hoping
> someone can provide some context as to what issue this TODO item is
> trying to address (i.e., what output would be useful).

I think that xlogdump (http://xlogviewer.projects.postgresql.org/) is
the first step to address that TODO item. Though I'm not sure if the
xlogdump project is still active.

Regards,

--
Fujii Masao
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Making hash indexes worthwhile
Next
From: Itagaki Takahiro
Date:
Subject: Re: CREATE LIKE INCLUDING COMMENTS and STORAGES