Fix incorrect format placeholders

This commit is contained in:
Peter Eisentraut 2022-05-04 07:57:39 +02:00
parent 8f1537d10e
commit 2e77180d45
2 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@ relmap_desc(StringInfo buf, XLogReaderState *record)
{
xl_relmap_update *xlrec = (xl_relmap_update *) rec;
appendStringInfo(buf, "database %u tablespace %u size %u",
appendStringInfo(buf, "database %u tablespace %u size %d",
xlrec->dbid, xlrec->tsid, xlrec->nbytes);
}
}

View File

@ -319,7 +319,7 @@ xact_desc_stats(StringInfo buf, const char *label,
appendStringInfo(buf, "; %sdropped stats:", label);
for (i = 0; i < ndropped; i++)
{
appendStringInfo(buf, " %u/%u/%u",
appendStringInfo(buf, " %d/%u/%u",
dropped_stats[i].kind,
dropped_stats[i].dboid,
dropped_stats[i].objoid);