Enhanced cycle mark values
Peter Eisentraut <peter@eisentraut.org>
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 <vik@postgresfriends.org> Discussion: https://www.postgresql.org/message-id/flat/db80ceee-6f97-9b4a-8ee8-3ba0c58e5be2@2ndquadrant.com
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/queries.sgml | modified | +2 −3 |
| doc/src/sgml/ref/select.sgml | modified | +5 −3 |
| src/backend/catalog/sql_features.txt | modified | +1 −0 |
| src/backend/parser/gram.y | modified | +11 −0 |
| src/backend/utils/adt/ruleutils.c | modified | +15 −4 |
| src/test/regress/expected/with.out | modified | +89 −28 |
| src/test/regress/sql/with.sql | modified | +21 −9 |
Documentation touched
Discussion
- SEARCH and CYCLE clauses 27 messages · 2020-05-20 → 2021-02-27