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

Commit10d62d1

Browse files
committed
Properly use INT64_FORMAT in output
Per buildfarm animal prairiedog, suggestion solution from Tom.
1 parent341e166 commit10d62d1

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

‎src/backend/replication/basebackup.c

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -597,8 +597,14 @@ perform_base_backup(basebackup_options *opt)
597597
if (total_checksum_failures)
598598
{
599599
if (total_checksum_failures>1)
600+
{
601+
charbuf[64];
602+
603+
snprintf(buf,sizeof(buf),INT64_FORMAT,total_checksum_failures);
604+
600605
ereport(WARNING,
601-
(errmsg("%ld total checksum verification failures",total_checksum_failures)));
606+
(errmsg("%s total checksum verification failures",buf)));
607+
}
602608
ereport(ERROR,
603609
(errcode(ERRCODE_DATA_CORRUPTED),
604610
errmsg("checksum verification failure during base backup")));

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp