doc: Expand recursive query documentation

Peter Eisentraut <peter@eisentraut.org>

Commit: 323ae003e464cac35f86790f3708b383c18df9e2
Author: Peter Eisentraut <peter@eisentraut.org>
Date: 2020-10-13T04:54:20Z
Releases: 14.0
doc: Expand recursive query documentation

Break the section up with subsection headings.  Add examples for depth-
and breadth-first search ordering.  For consistency with the SQL
search clause, start the depth counting at 0 instead of 1 in the
examples.

Discussion: https://www.postgresql.org/message-id/c5603982-0088-7f14-0caa-fdcd0c837b57@2ndquadrant.com

Files

PathChange+/−
doc/src/sgml/queries.sgml modified +142 −21

Documentation touched

Discussion