From: Bruce Momjian Date: Sat, 3 Sep 2022 01:57:41 +0000 (-0400) Subject: doc: clarify recursion internal behavior X-Git-Tag: REL_15_BETA4~7 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=170704da68c5150776c0ee4ed51350acde47b4a5;p=thirdparty%2Fpostgresql.git doc: clarify recursion internal behavior Reported-by: Drew DeVault Discussion: https://postgr.es/m/20211018091720.31299-1-sir@cmpwn.com Backpatch-through: 10 --- diff --git a/doc/src/sgml/queries.sgml b/doc/src/sgml/queries.sgml index 1428d99d0f8..4c5a83c9cbf 100644 --- a/doc/src/sgml/queries.sgml +++ b/doc/src/sgml/queries.sgml @@ -2172,9 +2172,8 @@ SELECT sum(n) FROM t; - Strictly speaking, this process is iteration not recursion, but - RECURSIVE is the terminology chosen by the SQL standards - committee. + While RECURSIVE allows queries to be specified + recursively, internally all queries are evaluated iteratively.