Re: array size exceeds the maximum allowed (1073741823) when building a json

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: array size exceeds the maximum allowed (1073741823) when building a json
Дата
Msg-id 717.1465365859@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: array size exceeds the maximum allowed (1073741823) when building a json  (Michael Paquier <michael.paquier@gmail.com>)
Ответы Re: array size exceeds the maximum allowed (1073741823) when building a json  (Merlin Moncure <mmoncure@gmail.com>)
Список pgsql-performance
Michael Paquier <michael.paquier@gmail.com> writes:
> On Tue, Jun 7, 2016 at 10:03 PM, Josh Berkus <josh@agliodbs.com> wrote:
>> On 06/07/2016 08:42 AM, Nicolas Paris wrote:
>>> Will this 1GO restriction is supposed to increase in a near future ?

>> Not planned, no.  Thing is, that's the limit for a field in general, not
>> just JSON; changing it would be a fairly large patch.  It's desireable,
>> but AFAIK nobody is working on it.

> And there are other things to consider on top of that, like the
> maximum allocation size for palloc, the maximum query string size,
> COPY, etc. This is no small project, and the potential side-effects
> should not be underestimated.

It's also fair to doubt that client-side code would "just work" with
no functionality or performance problems for such large values.

I await with interest the OP's results on other JSON processors that
have no issues with GB-sized JSON strings.

            regards, tom lane


В списке pgsql-performance по дате отправления:

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: array size exceeds the maximum allowed (1073741823) when building a json
Следующее
От: Rafał Gutkowski
Дата:
Сообщение: Re: Combination of partial and full indexes