Re: WIP Incremental JSON Parser

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: WIP Incremental JSON Parser
Дата
Msg-id 30b50818-72b2-4c05-8b39-c06ffd32252a@dunslane.net
обсуждение исходный текст
Ответ на Re: WIP Incremental JSON Parser  (Nathan Bossart <nathandbossart@gmail.com>)
Ответы Re: WIP Incremental JSON Parser  (Nathan Bossart <nathandbossart@gmail.com>)
Re: WIP Incremental JSON Parser  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On 2024-04-04 Th 15:54, Nathan Bossart wrote:
> On Thu, Apr 04, 2024 at 03:31:12PM -0400, Andrew Dunstan wrote:
>> Does the attached patch fix it for you?
> It clears up 2 of the 3 warnings for me:
>
> ../postgresql/src/common/jsonapi.c: In function ‘IsValidJsonNumber’:
> ../postgresql/src/common/jsonapi.c:2018:30: error: ‘dummy_lex.inc_state’ may be used uninitialized in this function
[-Werror=maybe-uninitialized]
>   2018 |  if (lex->incremental && !lex->inc_state->is_last_chunk &&
>        |
>

Thanks, please try this instead.


cheers


andrew

--
Andrew Dunstan
EDB: https://www.enterprisedb.com

Вложения

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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: IPC::Run::time[r|out] vs our TAP tests
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Add bump memory context type and use it for tuplesorts