Re: WITH and WITH RECURSIVE in single query - Mailing list pgsql-general

From Tom Lane
Subject Re: WITH and WITH RECURSIVE in single query
Date
Msg-id 23754.1323056504@sss.pgh.pa.us
Whole thread Raw
In response to WITH and WITH RECURSIVE in single query  (Maxim Boguk <maxim.boguk@gmail.com>)
List 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 by date:

Previous
From: Maxim Boguk
Date:
Subject: WITH and WITH RECURSIVE in single query
Next
From: Maxim Boguk
Date:
Subject: Questions about setting an array element value outside of the update