pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter.eisentraut@enterprisedb.com>
To: Bruce Momjian <bruce@momjian.us>
To: pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: doc: clarify recursion internal behavior
Date: Thu, 8 Sep 2022 13:24:14 +0200
Message-ID: <f88a4e74-8cb2-0f0f-622f-6bcff0c17ec4@enterprisedb.com> (raw)
In-Reply-To: <E1oUIQF-001AWC-Dh@gemulon.postgresql.org>
References: <E1oUIQF-001AWC-Dh@gemulon.postgresql.org>

On 03.09.22 03:58, Bruce Momjian wrote:
> doc:  clarify recursion internal behavior

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

Is that true?  Surely there is some recursive behavior in the executor.





view thread (11+ messages)  latest in thread

Message-ID: <f88a4e74-8cb2-0f0f-622f-6bcff0c17ec4@enterprisedb.com>
Permalink:  ../f88a4e74-8cb2-0f0f-622f-6bcff0c17ec4@enterprisedb.com/
Also on:    postgresql.org/message-id/f88a4e74-8cb2-0f0f-622f-6bcff0c17ec4@enterprisedb.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: peter.eisentraut@enterprisedb.com, bruce@momjian.us, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: doc: clarify recursion internal behavior
  In-Reply-To: <f88a4e74-8cb2-0f0f-622f-6bcff0c17ec4@enterprisedb.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox