Re: BUG #17708: 12.4

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #17708: 12.4
Дата
Msg-id 704944.1670596441@sss.pgh.pa.us
обсуждение исходный текст
Ответ на BUG #17708: 12.4  (PG Bug reporting form <noreply@postgresql.org>)
Список pgsql-bugs
PG Bug reporting form <noreply@postgresql.org> writes:
> WITH RECURSIVE search_tree(id, link, data) AS (
>                      SELECT t.id, t.link, t.data
>                      FROM tree t
>                      UNION ALL
>                      SELECT t.id, t.link, t.data
>                      FROM tree t join  search_tree st on  t.id = st.link
>                      WHERE  t.id < 2
>                  ) SEARCH DEPTH FIRST BY id SET ordercol

>  [42601] ERROR: syntax error at end of input

Yeah ... you wrote a WITH clause, but where's the main SELECT?

> But run ok in PostgreSQL 15.1

I *seriously* doubt that.

            regards, tom lane



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

Предыдущее
От: Richard Guo
Дата:
Сообщение: Re: BUG #17709: Regression in PG15 with window functions - "WindowFunc not found in subplan target lists"
Следующее
От: PG Bug reporting form
Дата:
Сообщение: BUG #17710: Slow queries (100% CPU) after auto-vacuum