Re: Patch for option in pg_resetxlog for restore from WAL files
Amit Kapila <amit.kapila@huawei.com>
From: Amit Kapila <amit.kapila@huawei.com>
To: "'Heikki Linnakangas'" <hlinnakangas@vmware.com>
Cc: <robertmhaas@gmail.com>, <tgl@sss.pgh.pa.us>, <pgsql-hackers@postgresql.org>, "'Andres Freund'" <andres@2ndquadrant.com>
Date: 2012-09-24T10:44:28Z
Lists: pgsql-hackers
> On Monday, September 24, 2012 2:30 PM Heikki Linnakangas 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. Sure. Thanks for the feedback. With Regards, Amit Kapila.