pg.ddx.io pgsql-bugs@postgresql.org mailing list archive
help / color / mirror / Atom feedBUG #15079: [54000] ERROR: total size of jsonb array elements exceeds the maximum of 268435455 bytes
2+ messages / 2 participants
[nested] [flat]
* BUG #15079: [54000] ERROR: total size of jsonb array elements exceeds the maximum of 268435455 bytes
@ 2018-02-22 20:58 PG Bug reporting form <noreply@postgresql.org>
0 siblings, 1 reply; 2+ messages in thread
From: PG Bug reporting form @ 2018-02-22 20:58 UTC (permalink / raw)
To: pgsql-bugs@lists.postgresql.org; +Cc: revs.subdu@gmail.com
The following bug has been logged on the website:
Bug reference: 15079
Logged by: Revathi
Email address: revs.subdu@gmail.com
PostgreSQL version: 10.0
Operating system: CentoS
Description:
Hi,
When I try to update the column with large json value (of type jsonb). I am
getting following error.
[54000] ERROR: total size of jsonb array elements exceeds the maximum of
268435455 bytes
Is there any way to fix it or increase jsonb size?
Thanks
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: BUG #15079: [54000] ERROR: total size of jsonb array elements exceeds the maximum of 268435455 bytes
@ 2018-02-22 21:24 David G. Johnston <david.g.johnston@gmail.com>
parent: PG Bug reporting form <noreply@postgresql.org>
0 siblings, 0 replies; 2+ messages in thread
From: David G. Johnston @ 2018-02-22 21:24 UTC (permalink / raw)
To: revs.subdu@gmail.com; pgsql-bugs@lists.postgresql.org
On Thu, Feb 22, 2018 at 1:58 PM, PG Bug reporting form <
noreply@postgresql.org> wrote:
> The following bug has been logged on the website:
>
> Bug reference: 15079
> Logged by: Revathi
> Email address: revs.subdu@gmail.com
> PostgreSQL version: 10.0
> Operating system: CentoS
> Description:
>
> Hi,
>
> When I try to update the column with large json value (of type jsonb). I am
> getting following error.
>
> [54000] ERROR: total size of jsonb array elements exceeds the maximum of
> 268435455 bytes
>
> Is there any way to fix it or increase jsonb size?
>
This isn't a bug and the only option to increase it is to change
"JENTRY_OFFLENMASK" in src/include/utils/jsonb.h (and while I'm not a
hacker I doubt its that simple).
If you are willing to go down the hacker path you should post a new message
to the -hackers list discussing your desire.
Otherwise the limit here seems to be due to having too many array elements
- converting each element into a single database row will probably work and
likely will perform considerably better regardless, though its difficult to
know for sure without more detail about the structure of the json.
David J.
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2018-02-22 21:24 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2018-02-22 20:58 BUG #15079: [54000] ERROR: total size of jsonb array elements exceeds the maximum of 268435455 bytes PG Bug reporting form <noreply@postgresql.org>
2018-02-22 21:24 ` David G. Johnston <david.g.johnston@gmail.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox