projects
/
users
/
c2main
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e774b76
)
Fix erroneous choice of timeline variable, too
author
Alvaro Herrera
<
[email protected]
>
Wed, 31 Oct 2012 19:50:09 +0000
(16:50 -0300)
committer
Alvaro Herrera
<
[email protected]
>
Wed, 31 Oct 2012 20:05:55 +0000
(17:05 -0300)
src/backend/access/transam/xlog.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/access/transam/xlog.c
b/src/backend/access/transam/xlog.c
index 3cee540ac49ba9ee274eb57cb6fb17f56da0c416..bf76f6d24cb8bbf3b1b8b19e0a1c007ff08e4035 100644
(file)
--- 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();
}