From d64e6392fba35f0fb5c6e19ee6dd45abd13a43ec Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Sun, 1 Sep 2002 01:58:42 +0000 Subject: [PATCH] Remove code that suggested increasing wal_files. --- src/backend/access/transam/xlog.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/backend/access/transam/xlog.c b/src/backend/access/transam/xlog.c index e0b447669e..56b31983dc 100644 --- a/src/backend/access/transam/xlog.c +++ b/src/backend/access/transam/xlog.c @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2002, 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.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); 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 */ LWLockAcquire(ControlFileLock, LW_EXCLUSIVE); if (ControlFile->logId < openLogId ||