On Mon, Apr 03, 2023 at 08:56:10AM +0530, Bharath Rupireddy wrote:
> 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.
Wouldn't it be better to also set shared_preload_libraries in
basic_archive.conf? It is true that the test works fine if setting
only archive_library, which would cause the library with its
_PG_init() to be loaded in the archiver process. However the GUC
basic_archive.archive_directory is missing from the backends.
Saying that, updating the comments about the dependency with
archive_library and the module's GUC is right.
--
Michael