De-reserve keywords EXECUTE and STRICT in PL/pgSQL.
Tom Lane <tgl@sss.pgh.pa.us>
De-reserve keywords EXECUTE and STRICT in PL/pgSQL. On close inspection, there does not seem to be a strong reason why these should be fully-reserved keywords. I guess they just escaped consideration in previous attempts to minimize PL/pgSQL's list of reserved words. Author: Tom Lane <tgl@sss.pgh.pa.us> Reviewed-by: Pavel Stehule <pavel.stehule@gmail.com> Discussion: https://postgr.es/m/2185258.1745617445@sss.pgh.pa.us
Files
| Path | Change | +/− |
|---|---|---|
| src/pl/plpgsql/src/expected/plpgsql_misc.out | modified | +14 −0 |
| src/pl/plpgsql/src/pl_gram.y | modified | +9 −4 |
| src/pl/plpgsql/src/pl_reserved_kwlist.h | modified | +0 −2 |
| src/pl/plpgsql/src/pl_scanner.c | modified | +1 −1 |
| src/pl/plpgsql/src/pl_unreserved_kwlist.h | modified | +2 −0 |
| src/pl/plpgsql/src/sql/plpgsql_misc.sql | modified | +13 −0 |
Discussion
- Sanding down some edge cases for PL/pgSQL reserved words 11 messages · 2025-04-25 → 2025-06-30