|
7 | 7 | * Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
|
8 | 8 | * Portions Copyright (c) 1994, Regents of the University of California
|
9 | 9 | *
|
10 |
| - * $PostgreSQL: pgsql/src/backend/access/transam/xlog.c,v 1.238 2006/06/15 19:15:00 momjian Exp $ |
| 10 | + * $PostgreSQL: pgsql/src/backend/access/transam/xlog.c,v 1.239 2006/06/16 04:11:48 momjian Exp $ |
11 | 11 | *
|
12 | 12 | *-------------------------------------------------------------------------
|
13 | 13 | */
|
@@ -2147,7 +2147,7 @@ XLogFileClose(void)
|
2147 | 2147 | {
|
2148 | 2148 | Assert(openLogFile >=0);
|
2149 | 2149 |
|
2150 |
| -#ifdef_POSIX_ADVISORY_INFO |
| 2150 | +#ifdefPOSIX_FADV_DONTNEED |
2151 | 2151 | /*
|
2152 | 2152 | * WAL caches will not be accessed in the future, so we advise OS to
|
2153 | 2153 | * free them. But we will not do so if WAL archiving is active,
|
|