postgres.git / summary / log / commit / refs
commit 59da8d9eb7255c3cb1c9f3b79d76b18b6a1c7da2
Author: Peter Eisentraut <peter@eisentraut.org>
Date: Thu Apr 15 06:58:03 2021 +0000
First released in: 14.0
amcheck: Use correct format placeholder for TOAST chunk numbers
Several of these were already fixed in passing in
9acaf1a62197205b06a85afbfcaa7ffaac939ef3, but one was remaining
inconsistent.
contrib/amcheck/verify_heapam.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/contrib/amcheck/verify_heapam.c b/contrib/amcheck/verify_heapam.c
index 13f420d9ada..9366f45d746 100644
--- a/contrib/amcheck/verify_heapam.c
+++ b/contrib/amcheck/verify_heapam.c
@@ -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));
}
[parent: 344487e2db03]