doc: clarify recursion internal behavior
authorBruce Momjian <[email protected]>
Sat, 3 Sep 2022 01:57:41 +0000 (21:57 -0400)
committerBruce Momjian <[email protected]>
Sat, 3 Sep 2022 01:57:41 +0000 (21:57 -0400)
Reported-by: Drew DeVault
Discussion: https://postgr.es/m/20211018091720[email protected]

Back-through: 10

doc/src/sgml/queries.sgml

index 1428d99d0f82e267d769d4dc9b9c63ae32d9aa55..4c5a83c9cbf4967a4367b7e8b7524addb6ed0c23 100644 (file)
@@ -2172,9 +2172,8 @@ SELECT sum(n) FROM t;
 
   <note>
    <para>
-    Strictly speaking, this process is iteration not recursion, but
-    <literal>RECURSIVE</literal> is the terminology chosen by the SQL standards
-    committee.
+    While <literal>RECURSIVE</literal> allows queries to be specified
+    recursively, internally all queries are evaluated iteratively.
    </para>
   </note>