Add prefetching support on macOS
authorPeter Eisentraut <[email protected]>
Wed, 28 Aug 2024 05:26:48 +0000 (07:26 +0200)
committerPeter Eisentraut <[email protected]>
Wed, 28 Aug 2024 05:28:27 +0000 (07:28 +0200)
commit6654bb92047b37cee053cedd6fa1829841b2ad8e
treeae3b84ab5a8e4581ac6f15b9afe68641ec554bee
parent2e6a8047f0c94b4ac1c3e80faecd628ae552a6c3
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 <[email protected]>
Discussion: https://www.postgresql.org/message-id/flat/0827edec-1317-4917-a186-035eb1e3241d%40eisentraut.org
doc/src/sgml/config.sgml
doc/src/sgml/wal.sgml
src/backend/commands/variable.c
src/backend/storage/file/fd.c
src/include/pg_config_manual.h
src/include/port/darwin.h