git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 344487e)
amcheck: Use correct format placeholder for TOAST chunk numbers
2021年4月15日 06:58:03 +0000 (08:58 +0200)
2021年4月15日 06:58:03 +0000 (08:58 +0200)
Several of these were already fixed in passing in
9acaf1a62197205b06a85afbfcaa7ffaac939ef3, but one was remaining
inconsistent.


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));
}
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /