mirror of
https://github.com/postgres/postgres.git
synced 2025-10-27 00:12:01 +03:00
Fix incorrect format placeholders
This commit is contained in:
@@ -1664,7 +1664,7 @@ convertJsonbArray(StringInfo buffer, JEntry *header, JsonbValue *val, int level)
|
||||
if (totallen > JENTRY_OFFLENMASK)
|
||||
ereport(ERROR,
|
||||
(errcode(ERRCODE_PROGRAM_LIMIT_EXCEEDED),
|
||||
errmsg("total size of jsonb array elements exceeds the maximum of %u bytes",
|
||||
errmsg("total size of jsonb array elements exceeds the maximum of %d bytes",
|
||||
JENTRY_OFFLENMASK)));
|
||||
|
||||
/*
|
||||
@@ -1684,7 +1684,7 @@ convertJsonbArray(StringInfo buffer, JEntry *header, JsonbValue *val, int level)
|
||||
if (totallen > JENTRY_OFFLENMASK)
|
||||
ereport(ERROR,
|
||||
(errcode(ERRCODE_PROGRAM_LIMIT_EXCEEDED),
|
||||
errmsg("total size of jsonb array elements exceeds the maximum of %u bytes",
|
||||
errmsg("total size of jsonb array elements exceeds the maximum of %d bytes",
|
||||
JENTRY_OFFLENMASK)));
|
||||
|
||||
/* Initialize the header of this node in the container's JEntry array */
|
||||
@@ -1745,7 +1745,7 @@ convertJsonbObject(StringInfo buffer, JEntry *header, JsonbValue *val, int level
|
||||
if (totallen > JENTRY_OFFLENMASK)
|
||||
ereport(ERROR,
|
||||
(errcode(ERRCODE_PROGRAM_LIMIT_EXCEEDED),
|
||||
errmsg("total size of jsonb object elements exceeds the maximum of %u bytes",
|
||||
errmsg("total size of jsonb object elements exceeds the maximum of %d bytes",
|
||||
JENTRY_OFFLENMASK)));
|
||||
|
||||
/*
|
||||
@@ -1780,7 +1780,7 @@ convertJsonbObject(StringInfo buffer, JEntry *header, JsonbValue *val, int level
|
||||
if (totallen > JENTRY_OFFLENMASK)
|
||||
ereport(ERROR,
|
||||
(errcode(ERRCODE_PROGRAM_LIMIT_EXCEEDED),
|
||||
errmsg("total size of jsonb object elements exceeds the maximum of %u bytes",
|
||||
errmsg("total size of jsonb object elements exceeds the maximum of %d bytes",
|
||||
JENTRY_OFFLENMASK)));
|
||||
|
||||
/*
|
||||
@@ -1800,7 +1800,7 @@ convertJsonbObject(StringInfo buffer, JEntry *header, JsonbValue *val, int level
|
||||
if (totallen > JENTRY_OFFLENMASK)
|
||||
ereport(ERROR,
|
||||
(errcode(ERRCODE_PROGRAM_LIMIT_EXCEEDED),
|
||||
errmsg("total size of jsonb object elements exceeds the maximum of %u bytes",
|
||||
errmsg("total size of jsonb object elements exceeds the maximum of %d bytes",
|
||||
JENTRY_OFFLENMASK)));
|
||||
|
||||
/* Initialize the header of this node in the container's JEntry array */
|
||||
|
||||
Reference in New Issue
Block a user