diff options
author | Peter Eisentraut | 2021-11-10 07:13:12 +0000 |
---|---|---|
committer | Peter Eisentraut | 2021-11-10 07:13:12 +0000 |
commit | 733e0391536dad99a2677ca5e19291854da5730f (patch) | |
tree | 0441f88a46298b0cfa5a503a518733edfc51c7bb | |
parent | c9c401a5e13accc4a3a775e3feeabdc5940c9178 (diff) |
Fix incorrect format placeholders
-rw-r--r-- | contrib/amcheck/verify_heapam.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/amcheck/verify_heapam.c b/contrib/amcheck/verify_heapam.c index 774a70f63d..bae5340111 100644 --- a/contrib/amcheck/verify_heapam.c +++ b/contrib/amcheck/verify_heapam.c @@ -1420,7 +1420,7 @@ check_tuple_attribute(HeapCheckContext *ctx) /* Toasted attributes too large to be untoasted should never be stored */ if (toast_pointer.va_rawsize > VARLENA_SIZE_LIMIT) report_corruption(ctx, - psprintf("toast value %u rawsize %u exceeds limit %u", + psprintf("toast value %u rawsize %d exceeds limit %d", toast_pointer.va_valueid, toast_pointer.va_rawsize, VARLENA_SIZE_LIMIT)); @@ -1433,7 +1433,7 @@ check_tuple_attribute(HeapCheckContext *ctx) /* Compression should never expand the attribute */ if (VARATT_EXTERNAL_GET_EXTSIZE(toast_pointer) > toast_pointer.va_rawsize - VARHDRSZ) report_corruption(ctx, - psprintf("toast value %u external size %u exceeds maximum expected for rawsize %u", + psprintf("toast value %u external size %u exceeds maximum expected for rawsize %d", toast_pointer.va_valueid, VARATT_EXTERNAL_GET_EXTSIZE(toast_pointer), toast_pointer.va_rawsize)); |