Recognize RETURN QUERY via a textual test, so that QUERY doesn't need to be
Tom Lane <tgl@sss.pgh.pa.us>
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.
Files
| Path | Change | +/− |
|---|---|---|
| src/pl/plpgsql/src/gram.y | modified | +11 −5 |
| src/pl/plpgsql/src/scan.l | modified | +1 −3 |