pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add prefetching support on macOS
Date: Wed, 28 Aug 2024 05:35:03 +0000
Message-ID: <E1sjBKh-001noq-Cf@gemulon.postgresql.org> (raw)

Add prefetching support on macOS

macOS doesn't have posix_fadvise(), but fcntl() with the F_RDADVISE
command does the same thing.

Some related documentation has been generalized to not mention
posix_advise() specifically anymore.

Reviewed-by: Thomas Munro <thomas.munro@gmail.com>
Discussion: https://www.postgresql.org/message-id/flat/0827edec-1317-4917-a186-035eb1e3241d%40eisentraut.org

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/6654bb92047b37cee053cedd6fa1829841b2ad8e

Modified Files
--------------
doc/src/sgml/config.sgml        | 14 ++++------
doc/src/sgml/wal.sgml           |  4 +--
src/backend/commands/variable.c |  4 +--
src/backend/storage/file/fd.c   | 57 +++++++++++++++++++++++++++--------------
src/include/pg_config_manual.h  |  5 ++--
src/include/port/darwin.h       |  5 ++++
6 files changed, 54 insertions(+), 35 deletions(-)



Message-ID: <E1sjBKh-001noq-Cf@gemulon.postgresql.org>
Permalink:  ../E1sjBKh-001noq-Cf@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1sjBKh-001noq-Cf@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 using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: peter@eisentraut.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Add prefetching support on macOS
  In-Reply-To: <E1sjBKh-001noq-Cf@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