mirror of
https://github.com/postgres/postgres.git
synced 2025-04-24 10:47:04 +03:00
Compile WAL by default.
This commit is contained in:
parent
f084a18af5
commit
a221d95f28
@ -1,5 +1,5 @@
|
|||||||
# -*-makefile-*-
|
# -*-makefile-*-
|
||||||
# $Header: /cvsroot/pgsql/src/Makefile.global.in,v 1.111 2000/11/09 18:18:42 petere Exp $
|
# $Header: /cvsroot/pgsql/src/Makefile.global.in,v 1.112 2000/11/20 05:18:38 vadim Exp $
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
# All PostgreSQL makefiles include this file and use the variables it sets,
|
# All PostgreSQL makefiles include this file and use the variables it sets,
|
||||||
@ -146,6 +146,8 @@ ifeq ($(GCC), yes)
|
|||||||
CFLAGS += -Wall -Wmissing-prototypes -Wmissing-declarations
|
CFLAGS += -Wall -Wmissing-prototypes -Wmissing-declarations
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
CFLAGS += -DXLOG
|
||||||
|
|
||||||
CXX = @CXX@
|
CXX = @CXX@
|
||||||
GXX = @GXX@
|
GXX = @GXX@
|
||||||
CXXFLAGS = @CXXFLAGS@
|
CXXFLAGS = @CXXFLAGS@
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
|
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
|
||||||
* Portions Copyright (c) 1994, Regents of the University of California
|
* Portions Copyright (c) 1994, Regents of the University of California
|
||||||
*
|
*
|
||||||
* $Header: /cvsroot/pgsql/src/backend/access/transam/xlog.c,v 1.27 2000/11/16 06:16:00 momjian Exp $
|
* $Header: /cvsroot/pgsql/src/backend/access/transam/xlog.c,v 1.28 2000/11/20 05:18:39 vadim Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
@ -42,7 +42,7 @@ void CreateCheckPoint(bool shutdown);
|
|||||||
|
|
||||||
char XLogDir[MAXPGPATH];
|
char XLogDir[MAXPGPATH];
|
||||||
char ControlFilePath[MAXPGPATH];
|
char ControlFilePath[MAXPGPATH];
|
||||||
int XLOGbuffers = 0;
|
int XLOGbuffers = 8;
|
||||||
XLogRecPtr MyLastRecPtr = {0, 0};
|
XLogRecPtr MyLastRecPtr = {0, 0};
|
||||||
bool StopIfError = false;
|
bool StopIfError = false;
|
||||||
bool InRecovery = false;
|
bool InRecovery = false;
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
* Support for grand unified configuration scheme, including SET
|
* Support for grand unified configuration scheme, including SET
|
||||||
* command, configuration file, and command line options.
|
* command, configuration file, and command line options.
|
||||||
*
|
*
|
||||||
* $Header: /cvsroot/pgsql/src/backend/utils/misc/guc.c,v 1.21 2000/11/15 18:36:05 petere Exp $
|
* $Header: /cvsroot/pgsql/src/backend/utils/misc/guc.c,v 1.22 2000/11/20 05:18:39 vadim Exp $
|
||||||
*
|
*
|
||||||
* Copyright 2000 by PostgreSQL Global Development Group
|
* Copyright 2000 by PostgreSQL Global Development Group
|
||||||
* Written by Peter Eisentraut <peter_e@gmx.net>.
|
* Written by Peter Eisentraut <peter_e@gmx.net>.
|
||||||
@ -270,7 +270,7 @@ ConfigureNamesInt[] =
|
|||||||
300, 30, 1800},
|
300, 30, 1800},
|
||||||
|
|
||||||
{"wal_buffers", PGC_POSTMASTER, &XLOGbuffers,
|
{"wal_buffers", PGC_POSTMASTER, &XLOGbuffers,
|
||||||
4, 4, INT_MAX},
|
8, 4, INT_MAX},
|
||||||
|
|
||||||
{"wal_debug", PGC_POSTMASTER, &XLOG_DEBUG,
|
{"wal_debug", PGC_POSTMASTER, &XLOG_DEBUG,
|
||||||
0, 0, 16},
|
0, 0, 16},
|
||||||
|
@ -37,7 +37,7 @@
|
|||||||
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
|
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
|
||||||
* Portions Copyright (c) 1994, Regents of the University of California
|
* Portions Copyright (c) 1994, Regents of the University of California
|
||||||
*
|
*
|
||||||
* $Id: catversion.h,v 1.60 2000/11/14 18:37:46 tgl Exp $
|
* $Id: catversion.h,v 1.61 2000/11/20 05:18:40 vadim Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
@ -53,6 +53,6 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/* yyyymmddN */
|
/* yyyymmddN */
|
||||||
#define CATALOG_VERSION_NO 200011131
|
#define CATALOG_VERSION_NO 200011191
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user