mirror of
https://github.com/postgrespro/pg_probackup.git
synced 2025-01-09 14:45:47 +02:00
Write into .control file start_lsn and stop_lsn with upper case and without appending zeroes
This commit is contained in:
parent
84d309a688
commit
753d9421f2
@ -395,11 +395,11 @@ pgBackupWriteControl(FILE *out, pgBackup *backup)
|
||||
fprintf(out, "\n#Result backup info\n");
|
||||
fprintf(out, "timelineid = %d\n", backup->tli);
|
||||
/* LSN returned by pg_start_backup */
|
||||
fprintf(out, "start-lsn = %x/%08x\n",
|
||||
fprintf(out, "start-lsn = %X/%X\n",
|
||||
(uint32) (backup->start_lsn >> 32),
|
||||
(uint32) backup->start_lsn);
|
||||
/* LSN returned by pg_stop_backup */
|
||||
fprintf(out, "stop-lsn = %x/%08x\n",
|
||||
fprintf(out, "stop-lsn = %X/%X\n",
|
||||
(uint32) (backup->stop_lsn >> 32),
|
||||
(uint32) backup->stop_lsn);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user