pgsql: Per SQL spec (in particular, the grammar in SQL:2008 7.13) we - Mailing list pgsql-committers

From tgl@postgresql.org (Tom Lane)
Subject pgsql: Per SQL spec (in particular, the grammar in SQL:2008 7.13) we
Date
Msg-id 20090706025848.8CB2175331E@cvs.postgresql.org
Whole thread Raw
List pgsql-committers
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)

pgsql-committers by date:

Previous
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Per SQL spec (in particular, the grammar in SQL:2008 7.13) we
Next
From: achernow@pgfoundry.org (User Achernow)
Date:
Subject: libpqtypes - libpqtypes: add PQsendf and PQsendvf