|
|
|
@ -7,7 +7,7 @@ |
|
|
|
|
* Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group |
|
|
|
|
* Portions Copyright (c) 1994, Regents of the University of California |
|
|
|
|
* |
|
|
|
|
* $Header: /cvsroot/pgsql/src/backend/access/transam/xlog.c,v 1.57 2001/03/13 20:32:37 tgl Exp $ |
|
|
|
|
* $Header: /cvsroot/pgsql/src/backend/access/transam/xlog.c,v 1.58 2001/03/14 20:23:04 tgl Exp $ |
|
|
|
|
* |
|
|
|
|
*------------------------------------------------------------------------- |
|
|
|
|
*/ |
|
|
|
@ -1778,8 +1778,9 @@ void |
|
|
|
|
XLOGPathInit(void) |
|
|
|
|
{ |
|
|
|
|
/* Init XLOG file paths */ |
|
|
|
|
snprintf(XLogDir, MAXPGPATH, "%s/pg_xlog", DataDir); |
|
|
|
|
snprintf(ControlFilePath, MAXPGPATH, "%s/global/pg_control", DataDir); |
|
|
|
|
snprintf(XLogDir, MAXPGPATH, "%s%cpg_xlog", DataDir, SEP_CHAR); |
|
|
|
|
snprintf(ControlFilePath, MAXPGPATH, "%s%cglobal%cpg_control", |
|
|
|
|
DataDir, SEP_CHAR, SEP_CHAR); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
static void |
|
|
|
|