1
0
mirror of https://github.com/postgres/postgres.git synced 2025-04-22 23:02:54 +03:00

amcheck: Use correct format placeholder for TOAST chunk numbers

Several of these were already fixed in passing in
9acaf1a62197205b06a85afbfcaa7ffaac939ef3, but one was remaining
inconsistent.
This commit is contained in:
Peter Eisentraut 2021-04-15 08:58:03 +02:00
parent 344487e2db
commit 59da8d9eb7

View File

@ -1476,7 +1476,7 @@ check_toasted_attribute(HeapCheckContext *ctx, ToastedAttribute *ta)
ta->toast_pointer.va_valueid));
else if (chunkno != (endchunk + 1))
report_toast_corruption(ctx, ta,
psprintf("toast value %u was expected to end at chunk %u, but ended at chunk %u",
psprintf("toast value %u was expected to end at chunk %d, but ended at chunk %d",
ta->toast_pointer.va_valueid,
(endchunk + 1), chunkno));
}