Skip to content

Commit 733e039

Browse files
committed
Fix incorrect format placeholders
1 parent c9c401a commit 733e039

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

contrib/amcheck/verify_heapam.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -1420,7 +1420,7 @@ check_tuple_attribute(HeapCheckContext *ctx)
14201420
/* Toasted attributes too large to be untoasted should never be stored */
14211421
if (toast_pointer.va_rawsize > VARLENA_SIZE_LIMIT)
14221422
report_corruption(ctx,
1423-
psprintf("toast value %u rawsize %u exceeds limit %u",
1423+
psprintf("toast value %u rawsize %d exceeds limit %d",
14241424
toast_pointer.va_valueid,
14251425
toast_pointer.va_rawsize,
14261426
VARLENA_SIZE_LIMIT));
@@ -1433,7 +1433,7 @@ check_tuple_attribute(HeapCheckContext *ctx)
14331433
/* Compression should never expand the attribute */
14341434
if (VARATT_EXTERNAL_GET_EXTSIZE(toast_pointer) > toast_pointer.va_rawsize - VARHDRSZ)
14351435
report_corruption(ctx,
1436-
psprintf("toast value %u external size %u exceeds maximum expected for rawsize %u",
1436+
psprintf("toast value %u external size %u exceeds maximum expected for rawsize %d",
14371437
toast_pointer.va_valueid,
14381438
VARATT_EXTERNAL_GET_EXTSIZE(toast_pointer),
14391439
toast_pointer.va_rawsize));

0 commit comments

Comments
 (0)