File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -511,7 +511,7 @@ statext_dependencies_deserialize(bytea *data)
511
511
return NULL ;
512
512
513
513
if (VARSIZE_ANY_EXHDR (data ) < SizeOfDependencies )
514
- elog (ERROR , "invalid MVDependencies size %ld (expected at least %ld )" ,
514
+ elog (ERROR , "invalid MVDependencies size %zd (expected at least %zd )" ,
515
515
VARSIZE_ANY_EXHDR (data ), SizeOfDependencies );
516
516
517
517
/* read the MVDependencies header */
@@ -547,7 +547,7 @@ statext_dependencies_deserialize(bytea *data)
547
547
sizeof (AttrNumber ) * 2 );
548
548
549
549
if (VARSIZE_ANY_EXHDR (data ) < min_expected_size )
550
- elog (ERROR , "invalid dependencies size %ld (expected at least %ld )" ,
550
+ elog (ERROR , "invalid dependencies size %zd (expected at least %zd )" ,
551
551
VARSIZE_ANY_EXHDR (data ), min_expected_size );
552
552
553
553
/* allocate space for the MCV items */
Original file line number Diff line number Diff line change @@ -238,7 +238,7 @@ statext_ndistinct_deserialize(bytea *data)
238
238
239
239
/* we expect at least the basic fields of MVNDistinct struct */
240
240
if (VARSIZE_ANY_EXHDR (data ) < SizeOfMVNDistinct )
241
- elog (ERROR , "invalid MVNDistinct size %ld (expected at least %ld )" ,
241
+ elog (ERROR , "invalid MVNDistinct size %zd (expected at least %zd )" ,
242
242
VARSIZE_ANY_EXHDR (data ), SizeOfMVNDistinct );
243
243
244
244
/* initialize pointer to the data part (skip the varlena header) */
@@ -274,7 +274,7 @@ statext_ndistinct_deserialize(bytea *data)
274
274
if (VARSIZE_ANY_EXHDR (data ) < minimum_size )
275
275
ereport (ERROR ,
276
276
(errcode (ERRCODE_DATA_CORRUPTED ),
277
- errmsg ("invalid MVNDistinct size %ld (expected at least %ld )" ,
277
+ errmsg ("invalid MVNDistinct size %zd (expected at least %zd )" ,
278
278
VARSIZE_ANY_EXHDR (data ), minimum_size )));
279
279
280
280
/*
You can’t perform that action at this time.
0 commit comments