Re: parallelizing the archiver

From: "Bossart, Nathan" <bossartn(at)amazon(dot)com>
To: Stephen Frost <sfrost(at)snowman(dot)net>, Magnus Hagander <magnus(at)hagander(dot)net>
Cc: Robert Haas <robertmhaas(at)gmail(dot)com>, Andrey Borodin <x4mmm(at)yandex-team(dot)ru>, Julien Rouhaud <rjuju123(at)gmail(dot)com>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: parallelizing the archiver
Date: 2021-10-21 19:51:47
Message-ID: C298F3F9-0BF5-4177-BBF7-97DBB4434E87@amazon.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 10/20/21, 3:23 PM, "Bossart, Nathan" <bossartn(at)amazon(dot)com> wrote:
> Alright, I reworked the patch a bit to maintain backward
> compatibility. My initial intent for 0001 was to just do a clean
> refactor to move the shell archiving stuff to its own file. However,
> after I did that, I realized that adding the hook wouldn't be too much
> more work, so I did that as well. This seems to be enough to support
> custom archiving modules. I included a basic example of such a module
> in 0002. 0002 is included primarily for demonstration purposes.

It looks like the FreeBSD build is failing because sys/wait.h is
missing. Here is an attempt at fixing that.

Nathan

Attachment Content-Type Size
v4-0002-Add-an-example-of-a-basic-archiving-module.patch application/octet-stream 6.9 KB
v4-0001-Move-logic-for-archiving-via-shell-to-its-own-fil.patch application/octet-stream 12.0 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2021-10-21 20:06:29 Re: [RFC] speed up count(*)
Previous Message Robert Haas 2021-10-21 19:29:26 Re: ThisTimeLineID can be used uninitialized