aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2002-02-18 05:44:45 +0000
committerBruce Momjian <bruce@momjian.us>2002-02-18 05:44:45 +0000
commitc448847378e1f3a9ed94fe1683c937ab14508b90 (patch)
tree227487b51384ebcd10e4a3a3fa1e9e3323ea632d
parentb0bf66dfbe0f4a2032b81384cd7dbaee35c2f3f5 (diff)
downloadpostgresql-c448847378e1f3a9ed94fe1683c937ab14508b90.tar.gz
postgresql-c448847378e1f3a9ed94fe1683c937ab14508b90.zip
Add better error text:
elog(LOG, "XLogWrite: new log file created - " "consider increasing 'wal_files' in postgresql.conf.");
-rw-r--r--src/backend/access/transam/xlog.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/access/transam/xlog.c b/src/backend/access/transam/xlog.c
index a8e5e43a027..f559c5f5829 100644
--- a/src/backend/access/transam/xlog.c
+++ b/src/backend/access/transam/xlog.c
@@ -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.86 2002/01/14 17:55:57 tgl Exp $
+ * $Header: /cvsroot/pgsql/src/backend/access/transam/xlog.c,v 1.87 2002/02/18 05:44:45 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -1041,7 +1041,7 @@ XLogWrite(XLogwrtRqst WriteRqst)
if (!use_existent) /* there was no precreated file */
elog(LOG, "XLogWrite: new log file created - "
- "consider increasing WAL_FILES");
+ "consider increasing 'wal_files' in postgresql.conf.");
/* update pg_control, unless someone else already did */
LWLockAcquire(ControlFileLock, LW_EXCLUSIVE);