Re: Patch for option in pg_resetxlog for restore from WAL files

From: Heikki Linnakangas <hlinnakangas(at)vmware(dot)com>
To: Amit kapila <amit(dot)kapila(at)huawei(dot)com>
Cc: "robertmhaas(at)gmail(dot)com" <robertmhaas(at)gmail(dot)com>, "tgl(at)sss(dot)pgh(dot)pa(dot)us" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>, Andres Freund <andres(at)2ndquadrant(dot)com>
Subject: Re: Patch for option in pg_resetxlog for restore from WAL files
Date: 2012-09-24 09:00:06
Message-ID: 50602116.7060301@vmware.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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.

- Heikki

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Nozomi Anzai 2012-09-24 09:42:18 Re: 64-bit API for large object
Previous Message Kohei KaiGai 2012-09-24 08:49:16 Re: [v9.3] writable foreign tables