doc: clarify recursion internal behavior

Reported-by: Drew DeVault

Discussion: https://postgr.es/m/20211018091720.31299-1-sir@cmpwn.com

Backpatch-through: 10
This commit is contained in:
Bruce Momjian 2022-09-02 21:57:41 -04:00
parent 932b016300
commit 8ec6a4ef3c

View 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>