pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tomas Vondra <tomas.vondra@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Skip 061_recovery_target_prefetch without posix_fadvise
Date: Fri, 20 Nov 2026 11:13:36 +0000
Message-ID: <E1xUMYh-00000000VXO-2pSE@gemulon.postgresql.org> (raw)

Skip 061_recovery_target_prefetch without posix_fadvise

The recently introduced test fails on platforms without posix_fadvise,
which reject maintenace_io_concurrency != 0. Fix by skipping the test
when HAVE_POSIX_FADVISE is not defined.

This only affects releases 15 to 17. Since 18, prefetch does not require
posix_fadvise on any platform.

Per reports from non-Linux buildfarm members (e.g. indri and sifaka).

Author: Tomas Vondra <tomas@vondra.me>
Reported-by: Fujii Masao <masao.fujii@gmail.com>
Discussion: https://postgr.es/m/CAHGQGwHQkzvPCd9_RdsBM_Y7iNkzDQAMm8CBgzkVAxcSp60Xow@mail.gmail.com

Branch
------
REL_17_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/dbabeaed29afe73a736ddaa6d66e6f4433f7fd15

Modified Files
--------------
src/test/recovery/t/061_recovery_target_prefetch.pl | 7 +++++++
1 file changed, 7 insertions(+)



view thread (3+ messages)  latest in thread

Message-ID: <E1xUMYh-00000000VXO-2pSE@gemulon.postgresql.org>
Permalink:  ../E1xUMYh-00000000VXO-2pSE@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1xUMYh-00000000VXO-2pSE@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: tomas.vondra@postgresql.org
  Subject: Re: pgsql: Skip 061_recovery_target_prefetch without posix_fadvise
  In-Reply-To: <E1xUMYh-00000000VXO-2pSE@gemulon.postgresql.org>
  References: <E1xUMYh-00000000VXO-2pSE@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox