Add makefile rules to check for backtracking in backend and psql lexers.
Tom Lane <tgl@sss.pgh.pa.us>
Add makefile rules to check for backtracking in backend and psql lexers. Per discussion, we should enforce the policy of "no backtracking" in these performance-sensitive scanners.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/parser/Makefile | modified | +4 −1 |
| src/backend/parser/scan.l | modified | +2 −1 |
| src/bin/psql/Makefile | modified | +3 −2 |