Skip to content

Commit a221d95

Browse files
committed
Compile WAL by default.
1 parent f084a18 commit a221d95

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 @@ void CreateCheckPoint(bool shutdown);
4242

4343
char XLogDir[MAXPGPATH];
4444
char ControlFilePath[MAXPGPATH];
45-
int XLOGbuffers = 0;
45+
int XLOGbuffers = 8;
4646
XLogRecPtr MyLastRecPtr = {0, 0};
4747
bool StopIfError = false;
4848
bool InRecovery = 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/15 18: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/14 18: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-
#define CATALOG_VERSION_NO 200011131
56+
#define CATALOG_VERSION_NO 200011191
5757

5858
#endif

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