Re: remaining sql/json patches
От | Amit Langote |
---|---|
Тема | Re: remaining sql/json patches |
Дата | |
Msg-id | CA+HiwqE0meTbqPnY0=w2KvbrZ8evGK0xWxg8_-LGFpoyoNX70Q@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: remaining sql/json patches (Michael Paquier <michael@paquier.xyz>) |
Список | pgsql-hackers |
Hi Michael, On Fri, Apr 5, 2024 at 3:07 PM Michael Paquier <michael@paquier.xyz> wrote: > On Fri, Apr 05, 2024 at 09:00:00AM +0300, Alexander Lakhin wrote: > > Please look at an assertion failure: > > TRAP: failed Assert("count <= tupdesc->natts"), File: "parse_relation.c", Line: 3048, PID: 1325146 > > > > triggered by the following query: > > SELECT * FROM JSON_TABLE('0', '$' COLUMNS (js int PATH '$')), > > COALESCE(row(1)) AS (a int, b int); > > > > Without JSON_TABLE() I get: > > ERROR: function return row and query-specified return row do not match > > DETAIL: Returned row contains 1 attribute, but query expects 2. > > I've added an open item on this one. We need to keep track of all > that. We figured out that this is an existing bug unrelated to JSON_TABLE(), which Alexander reported to -bugs: https://postgr.es/m/18422-89ca86c8eac5246d@postgresql.org I have moved the item to Older Bugs: https://wiki.postgresql.org/wiki/PostgreSQL_17_Open_Items#Live_issues -- Thanks, Amit Langote
В списке pgsql-hackers по дате отправления: