pgsql: Recognize RETURN QUERY via a textual test, so that QUERY doesn't

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Recognize RETURN QUERY via a textual test, so that QUERY doesn't
Date: 2007-11-09 23:58:32
Message-ID: 20071109235832.CCD0E7540F0@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Recognize RETURN QUERY via a textual test, so that QUERY doesn't need to be
a plpgsql keyword. This avoids springing a new reserved word on plpgsql
programmers.
For consistency, handle RETURN NEXT the same way.

Modified Files:
--------------
pgsql/src/pl/plpgsql/src:
gram.y (r1.105 -> r1.106)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/pl/plpgsql/src/gram.y?r1=1.105&r2=1.106)
scan.l (r1.58 -> r1.59)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/pl/plpgsql/src/scan.l?r1=1.58&r2=1.59)

Browse pgsql-committers by date

  From Date Subject
Next Message User Xzilla 2007-11-10 04:44:59 mysqlcompat - mysqlcompat: the 1 and 0 need to be quoted in 8.3, lest
Previous Message Bruce Momjian 2007-11-09 23:52:09 pgsql: Remove tabs from SGML files.