Adjust cycle detection examples and tests

Peter Eisentraut <peter@eisentraut.org>

Commit: 3fb676504da9c019540c7384423c7e3d7d394110
Author: Peter Eisentraut <peter@eisentraut.org>
Date: 2020-10-12T06:01:21Z
Releases: 14.0
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

Files

PathChange+/−
doc/src/sgml/queries.sgml modified +13 −13
src/test/regress/expected/with.out modified +62 −62
src/test/regress/sql/with.sql modified +8 −8

Documentation touched

Discussion