Adjust cycle detection examples and tests
authorPeter Eisentraut <peter@eisentraut.org>
Mon, 12 Oct 2020 05:46:20 +0000 (07:46 +0200)
committerPeter Eisentraut <peter@eisentraut.org>
Mon, 12 Oct 2020 06:01:21 +0000 (08:01 +0200)
commit3fb676504da9c019540c7384423c7e3d7d394110
treeb3ea5e26972c6454a011a01a9df00f80f4c09a9d
parent88ea7a1188d1afb25695124045e0ff81870f55e3
Adjust cycle detection examples and tests

Adjust the existing cycle detection example and test queries to put
the cycle column before the path column.  This is mainly because the
SQL-standard CYCLE clause puts them in that order, and so if we added
that feature that would make the sequence of examples more consistent
and easier to follow.

Discussion: https://www.postgresql.org/message-id/c5603982-0088-7f14-0caa-fdcd0c837b57@2ndquadrant.com
doc/src/sgml/queries.sgml
src/test/regress/expected/with.out
src/test/regress/sql/with.sql