Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit753d942

Browse files
author
Arthur Zakirov
committed
Write into .control file start_lsn and stop_lsn with upper case and without appending zeroes
1 parent84d309a commit753d942

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)

[8]ページ先頭

©2009-2025 Movatter.jp