Re: WIP Incremental JSON Parser
| От | Jacob Champion |
|---|---|
| Тема | Re: WIP Incremental JSON Parser |
| Дата | |
| Msg-id | CAOYmi+n1dZEMCptykQS7Jd4A_bMyebAD9LuFXM4NaeaYKwH3ng@mail.gmail.com обсуждение исходный текст |
| Ответ на | Re: WIP Incremental JSON Parser (Andrew Dunstan <andrew@dunslane.net>) |
| Ответы |
Re: WIP Incremental JSON Parser
|
| Список | pgsql-hackers |
On Sun, Mar 10, 2024 at 11:43 PM Andrew Dunstan <andrew@dunslane.net> wrote:
> I haven't managed to reproduce this. But I'm including some tests for it.
If I remove the newline from the end of the new tests:
> @@ -25,7 +25,7 @@ for (my $size = 64; $size > 0; $size--)
> foreach my $test_string (@inlinetests)
> {
> my ($fh, $fname) = tempfile();
> - print $fh "$test_string\n";
> + print $fh "$test_string";
> close($fh);
>
> foreach my $size (1..6, 10, 20, 30)
then I can reproduce the same result as my local tests. That extra
whitespace appears to help the partial token logic out somehow.
--Jacob
В списке pgsql-hackers по дате отправления: