Re: document json[b] limitation - Mailing list pgsql-docs

From Oleg Bartunov
Subject Re: document json[b] limitation
Date
Msg-id CAF4Au4w_L4LTJuuMDFrd-_OEo-OicFTdO6PJgxaMX12QJ6qggw@mail.gmail.com
Whole thread Raw
In response to Re: document json[b] limitation  (Oleg Bartunov <obartunov@postgrespro.ru>)
List pgsql-docs
On Wed, Apr 25, 2018 at 6:50 PM, Oleg Bartunov <obartunov@postgrespro.ru> wrote:
> On Wed, Apr 25, 2018 at 2:12 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> Oleg Bartunov <obartunov@postgrespro.ru> writes:
>>> Attached is a small patch, which documents the maximum size of
>>> json[b] types. Probably, it's worth to patch previous releases, where
>>> the types were introduced.
>>
>> If you said "maximum size is 1GB", period, I'd believe it ... although
>> I'm pretty sure that general limitation is already documented elsewhere.
>> I don't believe that it's possible to make a 256 Gb jsonb.  How will
>> that fit in the varlena header?
>
> Oops, it should be 256 Mb :)

patch attached.

>
>>
>>                         regards, tom lane
>>
>
>
>
> --
> Postgres Professional: http://www.postgrespro.com
> The Russian Postgres Company



-- 
Postgres Professional: http://www.postgrespro.com
The Russian Postgres Company

Attachment

pgsql-docs by date:

Previous
From: Oleg Bartunov
Date:
Subject: Re: document json[b] limitation
Next
From: Bruce Momjian
Date:
Subject: Re: how does jsonb_set work?