Commit 2f1692d2 authored by Alvaro Herrera's avatar Alvaro Herrera

Fix erroneous choice of timeline variable, too

parent e774b764
...@@ -8175,7 +8175,7 @@ assign_xlog_sync_method(int new_sync_method, void *extra) ...@@ -8175,7 +8175,7 @@ assign_xlog_sync_method(int new_sync_method, void *extra)
ereport(PANIC, ereport(PANIC,
(errcode_for_file_access(), (errcode_for_file_access(),
errmsg("could not fsync log segment %s: %m", 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)) if (get_sync_bit(sync_method) != get_sync_bit(new_sync_method))
XLogFileClose(); XLogFileClose();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment