Skip to content

Commit

Permalink
Merge #97878
Browse files Browse the repository at this point in the history
97878: parser: add test to check that bare_label_keywords is updated r=chengxiong-ruan a=rafiss

fixes #84309

Previously, it was very easy to add a new keyword, but forget to add it to bare_label_keywords. This could cause regressions as queries of the form `SELECT 1 new_label` would fail. The new test is a guardrail against that, and the grammar was updated to match Postgres bare label keywords as best we can.

Release note: None

Co-authored-by: Rafi Shamim <[email protected]>
  • Loading branch information
craig[bot] and rafiss committed Mar 2, 2023
2 parents 20e2add + 3c5c5da commit 3036617
Show file tree
Hide file tree
Showing 5 changed files with 1,166 additions and 37 deletions.
Loading

0 comments on commit 3036617

Please sign in to comment.