Re: WITH and WITH RECURSIVE in single query

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: WITH and WITH RECURSIVE in single query
Дата
Msg-id 23754.1323056504@sss.pgh.pa.us
обсуждение исходный текст
Ответ на WITH and WITH RECURSIVE in single query  (Maxim Boguk <maxim.boguk@gmail.com>)
Список pgsql-general
Maxim Boguk <maxim.boguk@gmail.com> writes:
> Is here any way to combine WITH and WITH RECURSIVE into single query?

You have to put RECURSIVE immediately after WITH, but that doesn't force
you to actually make any particular query in the WITH-list recursive.
It just makes it possible for a query to be self-referential, not required.

            regards, tom lane

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

Предыдущее
От: Maxim Boguk
Дата:
Сообщение: WITH and WITH RECURSIVE in single query
Следующее
От: Maxim Boguk
Дата:
Сообщение: Questions about setting an array element value outside of the update