pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Enhanced cycle mark values
Date: Sat, 27 Feb 2021 07:15:41 +0000
Message-ID: <E1lFtpF-0001lX-29@gemulon.postgresql.org> (raw)

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

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



Message-ID: <E1lFtpF-0001lX-29@gemulon.postgresql.org>
Permalink:  ../E1lFtpF-0001lX-29@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1lFtpF-0001lX-29@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: peter@eisentraut.org
  Subject: Re: pgsql: Enhanced cycle mark values
  In-Reply-To: <E1lFtpF-0001lX-29@gemulon.postgresql.org>
  References: <E1lFtpF-0001lX-29@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox