Skip to content

Commit 2e77180

Browse files
committed
Fix incorrect format placeholders
1 parent 8f1537d commit 2e77180

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/backend/access/rmgrdesc/relmapdesc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ relmap_desc(StringInfo buf, XLogReaderState *record)
2626
{
2727
xl_relmap_update *xlrec = (xl_relmap_update *) rec;
2828

29-
appendStringInfo(buf, "database %u tablespace %u size %u",
29+
appendStringInfo(buf, "database %u tablespace %u size %d",
3030
xlrec->dbid, xlrec->tsid, xlrec->nbytes);
3131
}
3232
}

src/backend/access/rmgrdesc/xactdesc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ xact_desc_stats(StringInfo buf, const char *label,
319319
appendStringInfo(buf, "; %sdropped stats:", label);
320320
for (i = 0; i < ndropped; i++)
321321
{
322-
appendStringInfo(buf, " %u/%u/%u",
322+
appendStringInfo(buf, " %d/%u/%u",
323323
dropped_stats[i].kind,
324324
dropped_stats[i].dboid,
325325
dropped_stats[i].objoid);

0 commit comments

Comments
 (0)