Skip to content

Commit 753d942

Browse files
author
Arthur Zakirov
committed
Write into .control file start_lsn and stop_lsn with upper case and without appending zeroes
1 parent 84d309a commit 753d942

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

catalog.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -395,11 +395,11 @@ pgBackupWriteControl(FILE *out, pgBackup *backup)
395395
fprintf(out, "\n#Result backup info\n");
396396
fprintf(out, "timelineid = %d\n", backup->tli);
397397
/* LSN returned by pg_start_backup */
398-
fprintf(out, "start-lsn = %x/%08x\n",
398+
fprintf(out, "start-lsn = %X/%X\n",
399399
(uint32) (backup->start_lsn >> 32),
400400
(uint32) backup->start_lsn);
401401
/* LSN returned by pg_stop_backup */
402-
fprintf(out, "stop-lsn = %x/%08x\n",
402+
fprintf(out, "stop-lsn = %X/%X\n",
403403
(uint32) (backup->stop_lsn >> 32),
404404
(uint32) backup->stop_lsn);
405405

0 commit comments

Comments
 (0)