diff --git a/doc/src/sgml/ref/select.sgml b/doc/src/sgml/ref/select.sgml index 4db8142afa..c34e362193 100644 --- a/doc/src/sgml/ref/select.sgml +++ b/doc/src/sgml/ref/select.sgml @@ -281,6 +281,14 @@ TABLE [ ONLY ] table_name [ * ] reads all or any of their output. + + When there are multiple queries in the WITH + clause, RECURSIVE should be written only once, + immediately after WITH. It applies to all queries + in the WITH clause, though it has no effect on + queries that do not use recursion or forward references. + + The primary query and the WITH queries are all (notionally) executed at the same time. This implies that the effects of