On Fri, Nov 20, 2026 at 10:54 AM Tomas Vondra <tomas(at)vondra(dot)me> wrote:
> # Prefetching requires posix_fadvise(). Without it, the server rejects the
> # non-zero maintenance_io_concurrency this test relies on.
> if (!check_pg_config("#define HAVE_POSIX_FADVISE 1"))
> {
> plan skip_all => 'posix_fadvise() not supported by this platform';
> }
This check seems to skip the test on macOS because posix_fadvise() is not
supported there. But, v18 and later have a platform-specific prefetch
for macOS, so maintenance_io_concurrency = 1 can be set there.
So, this check might be insufficient for macOS?
Regards,
--
Fujii Masao