diff options
author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2012-10-31 16:50:09 -0300 |
---|---|---|
committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2012-10-31 17:05:55 -0300 |
commit | 2f1692d213a90d7441fd2940f2c43d100b90c607 (patch) | |
tree | e50fa40fce8254008100c3149714ebb8be11df74 | |
parent | e774b7649ca6b459f10e7748835eb15a096a4587 (diff) | |
download | postgresql-2f1692d213a90d7441fd2940f2c43d100b90c607.tar.gz postgresql-2f1692d213a90d7441fd2940f2c43d100b90c607.zip |
Fix erroneous choice of timeline variable, too
-rw-r--r-- | src/backend/access/transam/xlog.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/access/transam/xlog.c b/src/backend/access/transam/xlog.c index 3cee540ac49..bf76f6d24cb 100644 --- a/src/backend/access/transam/xlog.c +++ b/src/backend/access/transam/xlog.c @@ -8175,7 +8175,7 @@ assign_xlog_sync_method(int new_sync_method, void *extra) ereport(PANIC, (errcode_for_file_access(), errmsg("could not fsync log segment %s: %m", - XLogFileNameP(curFileTLI, openLogSegNo)))); + XLogFileNameP(ThisTimeLineID, openLogSegNo)))); if (get_sync_bit(sync_method) != get_sync_bit(new_sync_method)) XLogFileClose(); } |