Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
40bc06fa
Commit
40bc06fa
authored
Jun 16, 2006
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Test for POSIX_FADV_DONTNEED to use posix_fadvise().
parent
91fc80d0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/backend/access/transam/xlog.c
src/backend/access/transam/xlog.c
+2
-2
No files found.
src/backend/access/transam/xlog.c
View file @
40bc06fa
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
* Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
* Portions Copyright (c) 1994, Regents of the University of California
*
*
* $PostgreSQL: pgsql/src/backend/access/transam/xlog.c,v 1.23
8 2006/06/15 19:15:00
momjian Exp $
* $PostgreSQL: pgsql/src/backend/access/transam/xlog.c,v 1.23
9 2006/06/16 04:11:48
momjian Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
@@ -2147,7 +2147,7 @@ XLogFileClose(void)
...
@@ -2147,7 +2147,7 @@ XLogFileClose(void)
{
{
Assert
(
openLogFile
>=
0
);
Assert
(
openLogFile
>=
0
);
#ifdef
_POSIX_ADVISORY_INFO
#ifdef
POSIX_FADV_DONTNEED
/*
/*
* WAL caches will not be accessed in the future, so we advise OS to
* WAL caches will not be accessed in the future, so we advise OS to
* free them. But we will not do so if WAL archiving is active,
* free them. But we will not do so if WAL archiving is active,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment