Enhanced cycle mark values

Per SQL:202x draft, in the CYCLE clause of a recursive query, the
cycle mark values can be of type boolean and can be omitted, in which
case they default to TRUE and FALSE.

Reviewed-by: Vik Fearing <[email protected]>
Discussion: 
https://www.postgresql.org/message-id/flat/[email protected]

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/f4adc41c4f92cc91d507b19e397140c35bb9fd71

Modified Files
--------------
doc/src/sgml/queries.sgml            |   5 +-
doc/src/sgml/ref/select.sgml         |   8 ++-
src/backend/catalog/sql_features.txt |   1 +
src/backend/parser/gram.y            |  11 ++++
src/backend/utils/adt/ruleutils.c    |  19 ++++--
src/test/regress/expected/with.out   | 117 ++++++++++++++++++++++++++---------
src/test/regress/sql/with.sql        |  30 ++++++---
7 files changed, 144 insertions(+), 47 deletions(-)

Reply via email to