diff options
| author | Peter Eisentraut | 2021-04-21 06:26:18 +0000 |
|---|---|---|
| committer | Peter Eisentraut | 2021-04-21 06:26:18 +0000 |
| commit | 39d0928a0e88426ee64189898565c40d4af9ad96 (patch) | |
| tree | 5e7cf4f8b0bbdcfa5d1389cd7821accb3f877f9b | |
| parent | 544b28088f9d41750ccf193812da62bdfe4bd98a (diff) | |
Use correct format placeholder for timeline IDs
Should be %u rather than %d.
| -rw-r--r-- | src/bin/pg_rewind/pg_rewind.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/pg_rewind/pg_rewind.c b/src/bin/pg_rewind/pg_rewind.c index 38e5d237551..5157f59cf79 100644 --- 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)); } |
