]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
doc: clarify recursion internal behavior
authorBruce Momjian <bruce@momjian.us>
Sat, 3 Sep 2022 01:57:41 +0000 (21:57 -0400)
committerBruce Momjian <bruce@momjian.us>
Sat, 3 Sep 2022 01:57:41 +0000 (21:57 -0400)
Reported-by: Drew DeVault
Discussion: https://postgr.es/m/20211018091720.31299-1-sir@cmpwn.com

Backpatch-through: 10

doc/src/sgml/queries.sgml

index 42859aec42233f6042339045990af45e901b96fd..33460da7db7907e09a061dcca39cae1eacc2234a 100644 (file)
@@ -2110,9 +2110,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>