projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
344487e
)
amcheck: Use correct format placeholder for TOAST chunk numbers
author
Peter Eisentraut
Thu, 15 Apr 2021 06:58:03 +0000
(08:58 +0200)
committer
Peter Eisentraut
Thu, 15 Apr 2021 06:58:03 +0000
(08:58 +0200)
Several of these were already fixed in passing in
9acaf1a62197205b06a85afbfcaa7ffaac939ef3
, but one was remaining
inconsistent.
contrib/amcheck/verify_heapam.c
patch
|
blob
|
blame
|
history
diff --git
a/contrib/amcheck/verify_heapam.c
b/contrib/amcheck/verify_heapam.c
index 13f420d9adad6f359acd68896c16bc39ae009ed0..9366f45d7461a01d2445669cd0d83b923d509f50 100644
(file)
--- 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));
}