From: | Peter Eisentraut <peter(at)eisentraut(dot)org> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Add prefetching support on macOS |
Date: | 2024-08-28 05:35:03 |
Message-ID: | E1sjBKh-001noq-Cf@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
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(dot)munro(at)gmail(dot)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(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Amit Kapila | 2024-08-29 03:33:25 | pgsql: Doc: Fix the ambiguity in the description of failover slots. |
Previous Message | Masahiko Sawada | 2024-08-27 20:02:28 | Re: pgsql: Restrict accesses to non-system views and foreign tables during |