Glenn Zhu <gzhu@medallia.com> writes:
> We are getting an error on the following statement:
> CREATE INDEX CONCURRENTLY customer_jsonb_fields_idx ON customer USING gin
> (jsonb_fields jsonb_path_ops);
> ERROR: invalid memory alloc request size 2013265920
> Anyone know what is causing it?
Sounds like a bug from here. What PG version is this exactly? If it's
not the latest minor releases, try updating. If it's still there, see if
you can extract a test case that you can share.
regards, tom lane