Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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)

pgsql-committers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group