aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/transam/xlog.c
diff options
context:
space:
mode:
authorMagnus Hagander <magnus@hagander.net>2008-05-12 14:27:47 +0000
committerMagnus Hagander <magnus@hagander.net>2008-05-12 14:27:47 +0000
commit2739a4e1d216e7b8aa351bfb149e3b8ec83223b9 (patch)
tree43a2df0271658cabdea8c27a72728b7ae4787b5c /src/backend/access/transam/xlog.c
parentf99760c19f8bd89a025fb7859dfef315c2396567 (diff)
downloadpostgresql-2739a4e1d216e7b8aa351bfb149e3b8ec83223b9.tar.gz
postgresql-2739a4e1d216e7b8aa351bfb149e3b8ec83223b9.zip
Report which WAL sync method we are trying to change *to* when it fails,
not which one we had before (that worked, and thus is completley irrelevant)
Diffstat (limited to 'src/backend/access/transam/xlog.c')
-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 a8cbc58a1e3..f2a0b1c4ff4 100644
--- a/src/backend/access/transam/xlog.c
+++ b/src/backend/access/transam/xlog.c
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/backend/access/transam/xlog.c,v 1.304 2008/05/12 08:35:05 mha Exp $
+ * $PostgreSQL: pgsql/src/backend/access/transam/xlog.c,v 1.305 2008/05/12 14:27:47 mha Exp $
*
*-------------------------------------------------------------------------
*/
@@ -6365,7 +6365,7 @@ assign_xlog_sync_method(int new_sync_method, bool doit, GucSource source)
* new_sync_method are controlled by the available enum
* options.
*/
- elog(PANIC, "unrecognized wal_sync_method: %d", sync_method);
+ elog(PANIC, "unrecognized wal_sync_method: %d", new_sync_method);
break;
}