Add prefetching support on macOS
Peter Eisentraut <peter@eisentraut.org>
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
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/config.sgml | modified | +5 −9 |
| doc/src/sgml/wal.sgml | modified | +2 −2 |
| src/backend/commands/variable.c | modified | +2 −2 |
| src/backend/storage/file/fd.c | modified | +38 −19 |
| src/include/pg_config_manual.h | modified | +2 −3 |
| src/include/port/darwin.h | modified | +5 −0 |
Documentation touched
Discussion
- macOS prefetching support 15 messages · 2024-08-14 → 2024-09-03