Skip to content

Commit 2739a4e

Browse files
committed
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)
1 parent f99760c commit 2739a4e

File tree

1 file changed

+2
-2
lines changed
  • src/backend/access/transam

1 file changed

+2
-2
lines changed

src/backend/access/transam/xlog.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group
88
* Portions Copyright (c) 1994, Regents of the University of California
99
*
10-
* $PostgreSQL: pgsql/src/backend/access/transam/xlog.c,v 1.304 2008/05/12 08:35:05 mha Exp $
10+
* $PostgreSQL: pgsql/src/backend/access/transam/xlog.c,v 1.305 2008/05/12 14:27:47 mha Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -6365,7 +6365,7 @@ assign_xlog_sync_method(int new_sync_method, bool doit, GucSource source)
63656365
* new_sync_method are controlled by the available enum
63666366
* options.
63676367
*/
6368-
elog(PANIC, "unrecognized wal_sync_method: %d", sync_method);
6368+
elog(PANIC, "unrecognized wal_sync_method: %d", new_sync_method);
63696369
break;
63706370
}
63716371

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy