Hi, It looks like comments in make file and meson file about not running basic_archive tests in NO_INSTALLCHECK mode are wrong. The comments say the module needs to be loaded via shared_preload_libraries=basic_archive, but it actually doesn't. The custom file needs archive related parameters and wal_level=replica. Here's a patch correcting that comment.
Thoughts? -- Bharath Rupireddy PostgreSQL Contributors Team RDS Open Source Databases Amazon Web Services: https://aws.amazon.com
From a3d9c1e6e1f080403b48232c07f136c173865106 Mon Sep 17 00:00:00 2001 From: Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com> Date: Sat, 1 Apr 2023 08:31:52 +0000 Subject: [PATCH v1] Fix a comment in basic_archive about NO_INSTALLCHECK --- contrib/basic_archive/Makefile | 5 +++-- contrib/basic_archive/meson.build | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/contrib/basic_archive/Makefile b/contrib/basic_archive/Makefile index 55d299d650..9216a3060b 100644 --- a/contrib/basic_archive/Makefile +++ b/contrib/basic_archive/Makefile @@ -5,8 +5,9 @@ PGFILEDESC = "basic_archive - basic archive module" REGRESS = basic_archive REGRESS_OPTS = --temp-config $(top_srcdir)/contrib/basic_archive/basic_archive.conf -# Disabled because these tests require "shared_preload_libraries=basic_archive", -# which typical installcheck users do not have (e.g. buildfarm clients). +# Disabled because these tests require wal_level = replica and archive related +# parameters to be enabled, which typical installcheck users do not have +# (e.g. buildfarm clients). NO_INSTALLCHECK = 1 ifdef USE_PGXS diff --git a/contrib/basic_archive/meson.build b/contrib/basic_archive/meson.build index bc1380e6f6..0753b07bf5 100644 --- a/contrib/basic_archive/meson.build +++ b/contrib/basic_archive/meson.build @@ -27,8 +27,9 @@ tests += { 'regress_args': [ '--temp-config', files('basic_archive.conf'), ], - # Disabled because these tests require "shared_preload_libraries=basic_archive", - # which typical runningcheck users do not have (e.g. buildfarm clients). + # Disabled because these tests require wal_level = replica and archive related + # parameters to be enabled, which typical installcheck users do not have + # (e.g. buildfarm clients). 'runningcheck': false, }, } -- 2.34.1