pgsql: Fixup for prefetching support on macOS

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fixup for prefetching support on macOS
Date: 2024-08-29 06:27:58
Message-ID: E1sjYdS-001wAa-Bp@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fixup for prefetching support on macOS

The new code path (commit 6654bb92047) should call FileAccess() first,
like the posix_fadvise() path.

Reported-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/d7fe02fb9e6eee16b61874bc8964b0e2d4c5b2ad

Modified Files
--------------
src/backend/storage/file/fd.c | 4 ++++
1 file changed, 4 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2024-08-29 06:31:50 pgsql: Refactor some code for ALTER TABLE SET LOGGED/UNLOGGED in tablec
Previous Message Amit Kapila 2024-08-29 03:57:08 pgsql: Rename the conflict types for the origin differ cases.