mirror of
https://github.com/postgres/postgres.git
synced 2025-11-19 13:42:17 +03:00
Fix incorrect format placeholders
This commit is contained in:
@@ -1032,7 +1032,7 @@ statext_mcv_deserialize(bytea *data)
|
||||
* header fields one by one, so we need to ignore struct alignment.
|
||||
*/
|
||||
if (VARSIZE_ANY(data) < MinSizeOfMCVList)
|
||||
elog(ERROR, "invalid MCV size %zd (expected at least %zu)",
|
||||
elog(ERROR, "invalid MCV size %zu (expected at least %zu)",
|
||||
VARSIZE_ANY(data), MinSizeOfMCVList);
|
||||
|
||||
/* read the MCV list header */
|
||||
@@ -1093,7 +1093,7 @@ statext_mcv_deserialize(bytea *data)
|
||||
* to do this check first, before accessing the dimension info.
|
||||
*/
|
||||
if (VARSIZE_ANY(data) < expected_size)
|
||||
elog(ERROR, "invalid MCV size %zd (expected %zu)",
|
||||
elog(ERROR, "invalid MCV size %zu (expected %zu)",
|
||||
VARSIZE_ANY(data), expected_size);
|
||||
|
||||
/* Now copy the array of type Oids. */
|
||||
@@ -1125,7 +1125,7 @@ statext_mcv_deserialize(bytea *data)
|
||||
* check on size.
|
||||
*/
|
||||
if (VARSIZE_ANY(data) != expected_size)
|
||||
elog(ERROR, "invalid MCV size %zd (expected %zu)",
|
||||
elog(ERROR, "invalid MCV size %zu (expected %zu)",
|
||||
VARSIZE_ANY(data), expected_size);
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user