pgsql: Enhanced cycle mark values

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Enhanced cycle mark values
Date: 2021-02-27 07:15:41
Message-ID: E1lFtpF-0001lX-29@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(at)postgresfriends(dot)org>
Discussion: https://www.postgresql.org/message-id/flat/db80ceee-6f97-9b4a-8ee8-3ba0c58e5be2(at)2ndquadrant(dot)com

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

Browse pgsql-committers by date

  From Date Subject
Next Message David Rowley 2021-02-27 10:01:03 pgsql: Add TID Range Scans to support efficient scanning ranges of TIDs
Previous Message Tom Lane 2021-02-26 20:24:20 pgsql: Doc: further clarify libpq's description of connection string UR