Re: pgsql: Build de-escaped JSON strings in larger chunks during lexing

2022-07-11 Thread John Naylor
On Tue, Jul 12, 2022 at 5:15 AM Tom Lane wrote: > > It looks like this broke buildfarm member skink (valgrind). Looking... -- John Naylor EDB: http://www.enterprisedb.com

Re: pgsql: Build de-escaped JSON strings in larger chunks during lexing

2022-07-11 Thread Tom Lane
John Naylor writes: > Build de-escaped JSON strings in larger chunks during lexing It looks like this broke buildfarm member skink (valgrind). regards, tom lane

pgsql: Build de-escaped JSON strings in larger chunks during lexing

2022-07-10 Thread John Naylor
Build de-escaped JSON strings in larger chunks during lexing During COPY BINARY with large JSONB blobs, it was found that half the time was spent parsing JSON, with much of that spent in separate appendStringInfoChar() calls for each input byte. Add lookahead loop to json_lex_string() to allow ba