Content-Length: 299318 | pFad | http://github.com/postgrespro/postgres/commit/303d4eb1c548f1d0821e168a6e7c7e9bd02c8088

85 Fix incorrect format placeholders · postgrespro/postgres@303d4eb · GitHub
Skip to content

Commit 303d4eb

Browse files
committed
Fix incorrect format placeholders
1 parent f975fc3 commit 303d4eb

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
goto error;
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
goto error;
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/303d4eb1c548f1d0821e168a6e7c7e9bd02c8088

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy