On 2024-03-07 Th 22:42, Andrew Dunstan wrote:
>
>
>
>
>
>
>
>>
>> Top-level scalars like `false` or `12345` do not parse correctly if
>> the chunk size is too small; instead json_errdetail() reports 'Token
>> "" is invalid'. With small chunk sizes, json_errdetail() additionally
>> segfaults on constructions like `[tru]` or `12zz`.
>
>
> Ugh. Will investigate.
I haven't managed to reproduce this. But I'm including some tests for it.
>
>
>
>
> I'll have a fresh patch set soon which will also take care of the bitrot.
>
>
>
See attached.
cheers
andrew
--
Andrew Dunstan
EDB: https://www.enterprisedb.com