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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy