Skip to content

Commit 59da8d9

Browse files
committed
amcheck: Use correct format placeholder for TOAST chunk numbers
Several of these were already fixed in passing in 9acaf1a, but one was remaining inconsistent.
1 parent 344487e commit 59da8d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/amcheck/verify_heapam.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1476,7 +1476,7 @@ check_toasted_attribute(HeapCheckContext *ctx, ToastedAttribute *ta)
14761476
ta->toast_pointer.va_valueid));
14771477
else if (chunkno != (endchunk + 1))
14781478
report_toast_corruption(ctx, ta,
1479-
psprintf("toast value %u was expected to end at chunk %u, but ended at chunk %u",
1479+
psprintf("toast value %u was expected to end at chunk %d, but ended at chunk %d",
14801480
ta->toast_pointer.va_valueid,
14811481
(endchunk + 1), chunkno));
14821482
}

0 commit comments

Comments
 (0)