On Thu, Feb 03, 2022 at 04:15:30PM -0500, Robert Haas wrote: > On Thu, Feb 3, 2022 at 4:11 PM Nathan Bossart <nathandboss...@gmail.com> > wrote: >> On Thu, Feb 03, 2022 at 04:04:33PM -0500, Robert Haas wrote: >> > So apparently we need to either skip this test when wal_level=minimal, >> > or force a higher wal_level to be used for this particular test. Not >> > sure what the existing precedents are, if any. >> >> The only precedent I've found so far is test_decoding, which sets wal_level >> to "logical." Perhaps we can just set it to "replica" in >> basic_archive.conf. > > Yeah, that seems to make sense.
024_archive_recovery.pl seems to do something similar. Patch attached. -- Nathan Bossart Amazon Web Services: https://aws.amazon.com
diff --git a/contrib/basic_archive/basic_archive.conf b/contrib/basic_archive/basic_archive.conf index b26b2d4144..db029f4b8e 100644 --- a/contrib/basic_archive/basic_archive.conf +++ b/contrib/basic_archive/basic_archive.conf @@ -1,3 +1,4 @@ archive_mode = 'on' archive_library = 'basic_archive' basic_archive.archive_directory = '.' +wal_level = 'replica'