pgsql: Enhanced cycle mark values

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

pgsql: Enhanced cycle mark values

Peter Eisentraut-3
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 <[hidden email]>
Discussion: https://www.postgresql.org/message-id/flat/db80ceee-6f97-9b4a-8ee8-3ba0c58e5be2@...

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(-)