Re: BUG #17227: segmentation fault with jsonb_to_recordset

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: BUG #17227: segmentation fault with jsonb_to_recordset
Дата
Msg-id 202110131359.a6m35hpudkg7@alvherre.pgsql
обсуждение исходный текст
Ответ на BUG #17227: segmentation fault with jsonb_to_recordset  (PG Bug reporting form <noreply@postgresql.org>)
Ответы Re: BUG #17227: segmentation fault with jsonb_to_recordset  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
On 2021-Oct-13, PG Bug reporting form wrote:

> ```
> select *
> from (
>          select jsonb_path_query_array(module -> 'lectures', '$[*]') as
> lecture
>          from unnest(
>              array[$${
>                "lectures": [
>                  {
>                    "id": "1"
>                  }
>                ]
>              }$$::jsonb]) as unnested_modules(module)
>      ) as l,
>      jsonb_to_recordset(l.lecture) as (id text)
> limit 1;
> ```

Can you provide some sample data that would reproduce the crash?

-- 
Álvaro Herrera              Valdivia, Chile  —  https://www.EnterpriseDB.com/
"It takes less than 2 seconds to get to 78% complete; that's a good sign.
A few seconds later it's at 90%, but it seems to have stuck there.  Did
somebody make percentages logarithmic while I wasn't looking?"



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

Предыдущее
От: PG Bug reporting form
Дата:
Сообщение: BUG #17228: Adding 'syslog' to log_destination causes postgres service throw an error when restarted.
Следующее
От: Tom Lane
Дата:
Сообщение: Re: BUG #17227: segmentation fault with jsonb_to_recordset