From: Alvaro Herrera Date: Wed, 31 Oct 2012 19:50:09 +0000 (-0300) Subject: Fix erroneous choice of timeline variable, too X-Git-Url: http://git.postgresql.org/gitweb/-?a=commitdiff_plain;h=2f1692d213a90d7441fd2940f2c43d100b90c607;p=users%2Fc2main%2Fpostgres.git Fix erroneous choice of timeline variable, too --- diff --git a/src/backend/access/transam/xlog.c b/src/backend/access/transam/xlog.c index 3cee540ac4..bf76f6d24c 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(); }