Skip to content

Commit 39d0928

Browse files
committed
Use correct format placeholder for timeline IDs
Should be %u rather than %d.
1 parent 544b280 commit 39d0928

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bin/pg_rewind/pg_rewind.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -857,7 +857,7 @@ getTimelineHistory(ControlFileData *controlFile, int *nentries)
857857
TimeLineHistoryEntry *entry;
858858

859859
entry = &history[i];
860-
pg_log_debug("%d: %X/%X - %X/%X", entry->tli,
860+
pg_log_debug("%u: %X/%X - %X/%X", entry->tli,
861861
LSN_FORMAT_ARGS(entry->begin),
862862
LSN_FORMAT_ARGS(entry->end));
863863
}

0 commit comments

Comments
 (0)