2
0
mirror of https://git.postgresql.org/git/postgresql.git synced 2024-12-15 08:20:16 +08:00

Remove code that suggested increasing wal_files.

This commit is contained in:
Bruce Momjian 2002-09-01 01:58:42 +00:00
parent ee8fcc57f6
commit d64e6392fb

View File

@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group * Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
* 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.103 2002/08/30 16:50:50 momjian Exp $ * $Header: /cvsroot/pgsql/src/backend/access/transam/xlog.c,v 1.104 2002/09/01 01:58:42 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
@ -1057,10 +1057,6 @@ XLogWrite(XLogwrtRqst WriteRqst)
&use_existent, true); &use_existent, true);
openLogOff = 0; openLogOff = 0;
if (!use_existent) /* there was no precreated file */
elog(LOG, "XLogWrite: new log file created - "
"consider increasing 'wal_files' in postgresql.conf.");
/* update pg_control, unless someone else already did */ /* update pg_control, unless someone else already did */
LWLockAcquire(ControlFileLock, LW_EXCLUSIVE); LWLockAcquire(ControlFileLock, LW_EXCLUSIVE);
if (ControlFile->logId < openLogId || if (ControlFile->logId < openLogId ||