Re: array size exceeds the maximum allowed (1073741823) when building a json - Mailing list pgsql-performance

From David G. Johnston
Subject Re: array size exceeds the maximum allowed (1073741823) when building a json
Date
Msg-id CAKFQuwbjwyaaFUOEzxoYCBDm25ujOayCniwiWimPML_A_VaGYA@mail.gmail.com
Whole thread Raw
In response to array size exceeds the maximum allowed (1073741823) when building a json  (Nicolas Paris <niparisco@gmail.com>)
Responses Re: array size exceeds the maximum allowed (1073741823) when building a json  (Nicolas Paris <niparisco@gmail.com>)
List pgsql-performance
On Tue, Jun 7, 2016 at 7:44 AM, Nicolas Paris <niparisco@gmail.com> wrote:
Hello,

I run a query transforming huge tables to a json document based on a period.
It works great for a modest period (little dataset).
However, when increasing the period (huge dataset) I get this error:
SQL ERROR[54000]
ERROR: array size exceeds the maximum allowed (1073741823)


​Maximum Field Size: 1 GB​

​It doesn't matter that the data never actually is placed into a physical table.

David J.

pgsql-performance by date:

Previous
From: Nicolas Paris
Date:
Subject: array size exceeds the maximum allowed (1073741823) when building a json
Next
From: Nicolas Paris
Date:
Subject: Re: array size exceeds the maximum allowed (1073741823) when building a json