diff options
| author | Bruce Momjian <bruce@momjian.us> | 2005-05-20 14:53:26 +0000 |
|---|---|---|
| committer | Bruce Momjian <bruce@momjian.us> | 2005-05-20 14:53:26 +0000 |
| commit | 6dc7760ac3c3aeb766f489121f39d26d6f9b8c46 (patch) | |
| tree | 80ff258fc03e57f9dc823803f17a6b3bc6d602f4 /src/include/storage | |
| parent | e9b33ed6cdc788ddcc6a7887d203574a5a346172 (diff) | |
Add support for wal_fsync_writethrough for Darwin, and restructure the
code to better handle writethrough.
Chris Campbell
Diffstat (limited to 'src/include/storage')
| -rw-r--r-- | src/include/storage/fd.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/include/storage/fd.h b/src/include/storage/fd.h index 74a05d5aae6..20c2c64c898 100644 --- a/src/include/storage/fd.h +++ b/src/include/storage/fd.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/storage/fd.h,v 1.50 2004/12/31 22:03:42 pgsql Exp $ + * $PostgreSQL: pgsql/src/include/storage/fd.h,v 1.51 2005/05/20 14:53:26 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -89,6 +89,8 @@ extern void AtEOSubXact_Files(bool isCommit, SubTransactionId mySubid, SubTransactionId parentSubid); extern void RemovePgTempFiles(void); extern int pg_fsync(int fd); +extern int pg_fsync_no_writethrough(int fd); +extern int pg_fsync_writethrough(int fd); extern int pg_fdatasync(int fd); /* Filename components for OpenTemporaryFile */ |
