Skip to content

Commit 9af9d67

Browse files
committed
Remove unintended code addition.
1 parent 4098c88 commit 9af9d67

File tree

1 file changed

+1
-10
lines changed
  • src/backend/access/transam

1 file changed

+1
-10
lines changed

src/backend/access/transam/xlog.c

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group
88
* Portions Copyright (c) 1994, Regents of the University of California
99
*
10-
* $PostgreSQL: pgsql/src/backend/access/transam/xlog.c,v 1.209 2005/07/23 15:29:47 momjian Exp $
10+
* $PostgreSQL: pgsql/src/backend/access/transam/xlog.c,v 1.210 2005/07/23 15:31:16 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -47,15 +47,6 @@
4747
#include "utils/relcache.h"
4848

4949

50-
/*
51-
* Becauase O_DIRECT bypasses the kernel buffers, and because we never
52-
* read those buffers except during crash recovery, it seems like
53-
* a win to use it in all cases.
54-
*/
55-
#ifdef O_DIRECT
56-
#define PG_O_DIRECT O_DIR(enableFsync ? (open_sync_bit | O_DIRECT) : 0)
57-
#else
58-
5950
/*
6051
* This chunk of hackery attempts to determine which file sync methods
6152
* are available on the current platform, and to choose an appropriate

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy