Skip to content

Commit 2f1692d

Browse files
committed
Fix erroneous choice of timeline variable, too
1 parent e774b76 commit 2f1692d

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

src/backend/access/transam/xlog.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -8175,7 +8175,7 @@ assign_xlog_sync_method(int new_sync_method, void *extra)
81758175
ereport(PANIC,
81768176
(errcode_for_file_access(),
81778177
errmsg("could not fsync log segment %s: %m",
8178-
XLogFileNameP(curFileTLI, openLogSegNo))));
8178+
XLogFileNameP(ThisTimeLineID, openLogSegNo))));
81798179
if (get_sync_bit(sync_method) != get_sync_bit(new_sync_method))
81808180
XLogFileClose();
81818181
}

0 commit comments

Comments
 (0)