Re: archive modules

Nathan Bossart <bossartn@amazon.com>

From: "Bossart, Nathan" <bossartn@amazon.com>
To: David Steele <david@pgmasters.net>, Fujii Masao <masao.fujii@oss.nttdata.com>, "pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>
Cc: Robert Haas <robertmhaas@gmail.com>, Michael Paquier <michael@paquier.xyz>, Magnus Hagander <magnus@hagander.net>, Stephen Frost <sfrost@snowman.net>
Date: 2022-01-13T19:38:43Z
Lists: pgsql-hackers

Attachments

On 1/5/22, 3:14 PM, "Bossart, Nathan" <bossartn@amazon.com> wrote:
> On 11/22/21, 10:01 AM, "Bossart, Nathan" <bossartn@amazon.com> wrote:
>> On 11/19/21, 11:24 AM, "Bossart, Nathan" <bossartn@amazon.com> wrote:
>>> I went ahead and split the patch into 4 separate patches in an effort
>>> to ease review.  0001 just refactors the shell archiving logic to its
>>> own file.  0002 introduces the archive modules infrastructure.  0003
>>> introduces the basic_archive test module.  And 0004 is the docs.
>>
>> Here is a rebased patch set (1b06d7b broke v10).
>
> I'm attempting to make cfbot happy again with v12.  It looked like
> there was a missing #include for Windows.

Here is another rebase for cfbot.

Nathan

Commits

  1. Disallow setting archive_library and archive_command at the same time

  2. Restore archive_command documentation

  3. Doc: improve explanation of when custom GUCs appear in pg_settings.

  4. doc: Add note about re-archiving of same WAL files in docs.

  5. In basic_archive tests, insist on wal_level='replica'.

  6. Allow archiving via loadable modules.

  7. Move the code to archive files via the shell to a separate file.