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

Commit303d4eb

Browse files
committed
Fix incorrect format placeholders
1 parentf975fc3 commit303d4eb

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

‎src/bin/pg_basebackup/pg_recvlogical.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -556,7 +556,7 @@ StreamLogicalLog(void)
556556

557557
if (ret<0)
558558
{
559-
pg_log_error("could not write %u bytes to log file \"%s\": %m",
559+
pg_log_error("could not write %d bytes to log file \"%s\": %m",
560560
bytes_left,outfile);
561561
gotoerror;
562562
}
@@ -568,7 +568,7 @@ StreamLogicalLog(void)
568568

569569
if (write(outfd,"\n",1)!=1)
570570
{
571-
pg_log_error("could not write %u bytes to log file \"%s\": %m",
571+
pg_log_error("could not write %d bytes to log file \"%s\": %m",
572572
1,outfile);
573573
gotoerror;
574574
}

‎src/bin/pg_basebackup/receivelog.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1133,7 +1133,7 @@ ProcessXLogDataMsg(PGconn *conn, StreamCtl *stream, char *copybuf, int len,
11331133
if (stream->walmethod->write(walfile,copybuf+hdr_len+bytes_written,
11341134
bytes_to_write)!=bytes_to_write)
11351135
{
1136-
pg_log_error("could not write %u bytes to WAL file \"%s\": %s",
1136+
pg_log_error("could not write %d bytes to WAL file \"%s\": %s",
11371137
bytes_to_write,current_walfile_name,
11381138
stream->walmethod->getlasterror());
11391139
return false;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp