Re: Patch for option in pg_resetxlog for restore from WAL files - Mailing list pgsql-hackers

From Simon Riggs
Subject Re: Patch for option in pg_resetxlog for restore from WAL files
Date
Msg-id CA+U5nM+dWnsBJje6e-f1K3uHMb0WBRwfgKM4hH3K_gT2detKgg@mail.gmail.com
Whole thread Raw
In response to Re: Patch for option in pg_resetxlog for restore from WAL files  (Heikki Linnakangas <hlinnakangas@vmware.com>)
Responses Re: Patch for option in pg_resetxlog for restore from WAL files  (Amit Kapila <amit.kapila@huawei.com>)
List pgsql-hackers
On 24 September 2012 04:00, Heikki Linnakangas <hlinnakangas@vmware.com> wrote:
> On 18.07.2012 16:47, Amit kapila wrote:
>>
>> Patch implementing the design in below mail chain is attached with this
>> mail.
>
>
> This patch copies the ReadRecord() function and a bunch of related functions
> from xlog.c into pg_resetxlog.c. There's a separate patch in the current
> commitfest to make that code reusable, without having to copy-paste it to
> every tool that wants to parse the WAL. See
> https://commitfest.postgresql.org/action/patch_view?id=860. This patch
> should be refactored to make use of that framework, as soon as it's
> committed.

Agreed, moving to next commitfest.

Amit, suggest review of the patch that this now depends upon.

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



pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: pg_reorg in core?
Next
From: Heikki Linnakangas
Date:
Subject: Re: Switching timeline over streaming replication