doc: Expand recursive query documentation
authorPeter Eisentraut <peter@eisentraut.org>
Tue, 13 Oct 2020 04:29:06 +0000 (06:29 +0200)
committerPeter Eisentraut <peter@eisentraut.org>
Tue, 13 Oct 2020 04:54:20 +0000 (06:54 +0200)
commit323ae003e464cac35f86790f3708b383c18df9e2
tree24a161c097cce9d0b67382b531e92951dd62c36b
parent8fccf75834c11798e3b13a4cebedfb8ae683857a
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
doc/src/sgml/queries.sgml