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

Commita221d95

Browse files
committed
Compile WAL by default.
1 parentf084a18 commita221d95

File tree

4 files changed

+9
-7
lines changed

4 files changed

+9
-7
lines changed

‎src/Makefile.global.in

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -*-makefile-*-
2-
# $Header: /cvsroot/pgsql/src/Makefile.global.in,v 1.111 2000/11/09 18:18:42 petere Exp $
2+
# $Header: /cvsroot/pgsql/src/Makefile.global.in,v 1.112 2000/11/20 05:18:38 vadim Exp $
33

44
#------------------------------------------------------------------------------
55
# All PostgreSQL makefiles include this file and use the variables it sets,
@@ -146,6 +146,8 @@ ifeq ($(GCC), yes)
146146
CFLAGS += -Wall -Wmissing-prototypes -Wmissing-declarations
147147
endif
148148

149+
CFLAGS += -DXLOG
150+
149151
CXX = @CXX@
150152
GXX = @GXX@
151153
CXXFLAGS = @CXXFLAGS@

‎src/backend/access/transam/xlog.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
77
* Portions Copyright (c) 1994, Regents of the University of California
88
*
9-
* $Header: /cvsroot/pgsql/src/backend/access/transam/xlog.c,v 1.27 2000/11/16 06:16:00 momjian Exp $
9+
* $Header: /cvsroot/pgsql/src/backend/access/transam/xlog.c,v 1.28 2000/11/20 05:18:39 vadim Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
@@ -42,7 +42,7 @@ voidCreateCheckPoint(bool shutdown);
4242

4343
charXLogDir[MAXPGPATH];
4444
charControlFilePath[MAXPGPATH];
45-
intXLOGbuffers=0;
45+
intXLOGbuffers=8;
4646
XLogRecPtrMyLastRecPtr= {0,0};
4747
boolStopIfError= false;
4848
boolInRecovery= false;

‎src/backend/utils/misc/guc.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* Support for grand unified configuration scheme, including SET
55
* command, configuration file, and command line options.
66
*
7-
* $Header: /cvsroot/pgsql/src/backend/utils/misc/guc.c,v 1.21 2000/11/1518:36:05 petere Exp $
7+
* $Header: /cvsroot/pgsql/src/backend/utils/misc/guc.c,v 1.22 2000/11/20 05:18:39 vadim Exp $
88
*
99
* Copyright 2000 by PostgreSQL Global Development Group
1010
* Written by Peter Eisentraut <peter_e@gmx.net>.
@@ -270,7 +270,7 @@ ConfigureNamesInt[] =
270270
300,30,1800},
271271

272272
{"wal_buffers",PGC_POSTMASTER,&XLOGbuffers,
273-
4,4,INT_MAX},
273+
8,4,INT_MAX},
274274

275275
{"wal_debug",PGC_POSTMASTER,&XLOG_DEBUG,
276276
0,0,16},

‎src/include/catalog/catversion.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
3838
* Portions Copyright (c) 1994, Regents of the University of California
3939
*
40-
* $Id: catversion.h,v 1.60 2000/11/1418:37:46 tgl Exp $
40+
* $Id: catversion.h,v 1.61 2000/11/20 05:18:40 vadim Exp $
4141
*
4242
*-------------------------------------------------------------------------
4343
*/
@@ -53,6 +53,6 @@
5353
*/
5454

5555
/* yyyymmddN */
56-
#defineCATALOG_VERSION_NO200011131
56+
#defineCATALOG_VERSION_NO200011191
5757

5858
#endif

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp