Skip to content

Commit b1307b8

Browse files
committed
Fix incorrect format placeholders
1 parent d28a449 commit b1307b8

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/backend/utils/adt/jsonb_util.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1664,7 +1664,7 @@ convertJsonbArray(StringInfo buffer, JEntry *header, JsonbValue *val, int level)
16641664
if (totallen > JENTRY_OFFLENMASK)
16651665
ereport(ERROR,
16661666
(errcode(ERRCODE_PROGRAM_LIMIT_EXCEEDED),
1667-
errmsg("total size of jsonb array elements exceeds the maximum of %u bytes",
1667+
errmsg("total size of jsonb array elements exceeds the maximum of %d bytes",
16681668
JENTRY_OFFLENMASK)));
16691669

16701670
/*
@@ -1684,7 +1684,7 @@ convertJsonbArray(StringInfo buffer, JEntry *header, JsonbValue *val, int level)
16841684
if (totallen > JENTRY_OFFLENMASK)
16851685
ereport(ERROR,
16861686
(errcode(ERRCODE_PROGRAM_LIMIT_EXCEEDED),
1687-
errmsg("total size of jsonb array elements exceeds the maximum of %u bytes",
1687+
errmsg("total size of jsonb array elements exceeds the maximum of %d bytes",
16881688
JENTRY_OFFLENMASK)));
16891689

16901690
/* 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
17451745
if (totallen > JENTRY_OFFLENMASK)
17461746
ereport(ERROR,
17471747
(errcode(ERRCODE_PROGRAM_LIMIT_EXCEEDED),
1748-
errmsg("total size of jsonb object elements exceeds the maximum of %u bytes",
1748+
errmsg("total size of jsonb object elements exceeds the maximum of %d bytes",
17491749
JENTRY_OFFLENMASK)));
17501750

17511751
/*
@@ -1780,7 +1780,7 @@ convertJsonbObject(StringInfo buffer, JEntry *header, JsonbValue *val, int level
17801780
if (totallen > JENTRY_OFFLENMASK)
17811781
ereport(ERROR,
17821782
(errcode(ERRCODE_PROGRAM_LIMIT_EXCEEDED),
1783-
errmsg("total size of jsonb object elements exceeds the maximum of %u bytes",
1783+
errmsg("total size of jsonb object elements exceeds the maximum of %d bytes",
17841784
JENTRY_OFFLENMASK)));
17851785

17861786
/*
@@ -1800,7 +1800,7 @@ convertJsonbObject(StringInfo buffer, JEntry *header, JsonbValue *val, int level
18001800
if (totallen > JENTRY_OFFLENMASK)
18011801
ereport(ERROR,
18021802
(errcode(ERRCODE_PROGRAM_LIMIT_EXCEEDED),
1803-
errmsg("total size of jsonb object elements exceeds the maximum of %u bytes",
1803+
errmsg("total size of jsonb object elements exceeds the maximum of %d bytes",
18041804
JENTRY_OFFLENMASK)));
18051805

18061806
/* Initialize the header of this node in the container's JEntry array */

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy