pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: tgl@postgresql.org
To: pgsql-committers@postgresql.org
Subject: pgsql: Per SQL spec (in particular, the grammar in SQL:2008 7.13) we
Date: Mon,  6 Jul 2009 02:58:48 +0000 (UTC)
Message-ID: <20090706025848.8CB2175331E@cvs.postgresql.org> (raw)

Log Message:
-----------
Per SQL spec (in particular, the grammar in SQL:2008 7.13) we should allow
parentheses around the <query expression body> that follows a WITH clause, eg
	with cte(foo) as ( values(0) ) ((select foo from cte));
This seems to be just an oversight/thinko in gram.y.  Noted while
experimenting with bug #4902.

Tags:
----
REL8_4_STABLE

Modified Files:
--------------
    pgsql/src/backend/parser:
        gram.y (r2.665 -> r2.665.2.1)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/parser/gram.y?r1=2.665&r2=2.665.2.1)




view thread (3+ messages)  latest in thread

Message-ID: <20090706025848.8CB2175331E@cvs.postgresql.org>
Permalink:  ../20090706025848.8CB2175331E@cvs.postgresql.org/
Also on:    postgresql.org/message-id/20090706025848.8CB2175331E@cvs.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 using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: tgl@postgresql.org
  Subject: Re: pgsql: Per SQL spec (in particular, the grammar in SQL:2008 7.13) we
  In-Reply-To: <20090706025848.8CB2175331E@cvs.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