]> granicus.if.org Git - postgresql/commit
Recognize RETURN QUERY via a textual test, so that QUERY doesn't need to be
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 9 Nov 2007 23:58:32 +0000 (23:58 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 9 Nov 2007 23:58:32 +0000 (23:58 +0000)
commite5fe2e84d75f7025cba10a0477335e25d3e83e07
tree70329daefba1188fe5adcdec8bae7e0b63f5e428
parent4521207390aa3ac14aa54eabab9f3aed0cdce9c3
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.
src/pl/plpgsql/src/gram.y
src/pl/plpgsql/src/scan.l