Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit9af9d67

Browse files
committed
Remove unintended code addition.
1 parent4098c88 commit9af9d67

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-
#ifdefO_DIRECT
56-
#definePG_O_DIRECTO_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)

[8]ページ先頭

©2009-2025 Movatter.jp