pg_plan_advice: Fix failures to accept identifier keywords.
Robert Haas <rhaas@postgresql.org>
pg_plan_advice: Fix failures to accept identifier keywords. TOK_IDENT allows only non-keywords; identifier should be used any place where either keywords or non-keywords should be accepted. Hence, without this commit, any string that happens to be a keyword can't be used as a partition schema, partition name, or plan name, which is incorrect. Author: Lukas Fittl <lukas@fittl.com> Discussion: http://postgr.es/m/CAP53PkzKeD=t90OfeMsniYrcRe2THQbUx3g6wV17Y=ZtiwmWTQ@mail.gmail.com
Files
| Path | Change | +/− |
|---|---|---|
| contrib/pg_plan_advice/expected/syntax.out | modified | +45 −0 |
| contrib/pg_plan_advice/pgpa_parser.y | modified | +3 −3 |
| contrib/pg_plan_advice/sql/syntax.sql | modified | +19 −0 |
Discussion
- pg_plan_advice 219 messages · 2025-10-30 → 2026-06-10