projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
544b280
)
Use correct format placeholder for timeline IDs
author
Peter Eisentraut
Wed, 21 Apr 2021 06:26:18 +0000
(08:26 +0200)
committer
Peter Eisentraut
Wed, 21 Apr 2021 06:26:18 +0000
(08:26 +0200)
Should be %u rather than %d.
src/bin/pg_rewind/pg_rewind.c
patch
|
blob
|
blame
|
history
diff --git
a/src/bin/pg_rewind/pg_rewind.c
b/src/bin/pg_rewind/pg_rewind.c
index 38e5d237551870a43b5d3c76f8c1555490bedbc4..5157f59cf79b38c118924f02762dc52b972793a8 100644
(file)
--- a/
src/bin/pg_rewind/pg_rewind.c
+++ b/
src/bin/pg_rewind/pg_rewind.c
@@
-857,7
+857,7
@@
getTimelineHistory(ControlFileData *controlFile, int *nentries)
TimeLineHistoryEntry *entry;
entry = &history[i];
- pg_log_debug("%
d
: %X/%X - %X/%X", entry->tli,
+ pg_log_debug("%
u
: %X/%X - %X/%X", entry->tli,
LSN_FORMAT_ARGS(entry->begin),
LSN_FORMAT_ARGS(entry->end));
}