Re: More new SQL/JSON item methods

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: More new SQL/JSON item methods
Дата
Msg-id 09ca4c4a-9f73-eeee-47ce-2c08f8db5ad8@dunslane.net
обсуждение исходный текст
Ответ на Re: More new SQL/JSON item methods  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On 2024-01-25 Th 15:33, Tom Lane wrote:
> Andrew Dunstan <andrew@dunslane.net> writes:
>> On 2024-01-25 Th 14:31, Tom Lane wrote:
>>> (The reported crashes seem to be happening later during a
>>> recursive invocation, seemingly because JsonbType(jb) is
>>> returning garbage.  So there may be another bug after this one.)
>> I don't think so. AIUI The first call deals with the '$' and the second
>> one deals with the '.string()', which is why we see the error on the
>> second call.
> There's something else going on, because I'm still getting the
> assertion failure on my Mac with this fix in place.  Annoyingly,
> it goes away if I compile with -O0, so it's kind of hard to
> identify what's going wrong.
>
>             


Curiouser and curiouser. On my Mac the error is manifest but the fix you 
suggested cures it. Built with -O2 -g, clang 15.0.0, Apple Silicon.


cheers


andrew

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




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

Предыдущее
От: Dave Cramer
Дата:
Сообщение: Re: [PATCH] Add native windows on arm64 support
Следующее
От: Anthony Roberts
Дата:
Сообщение: Re: [PATCH] Add native windows on arm64 support