sql-parser-cst icon indicating copy to clipboard operation
sql-parser-cst copied to clipboard

Reserved keywords can't be used as aliases in PostgreSQL

Open nene opened this issue 1 year ago • 0 comments

For example the following is valid in PostgreSQL, but currently causes a crash:

SELECT set.foo FROM settings AS set
Syntax Error: Unexpected "set"
--> undefined:1:8
  |
1 | SELECT set.foo FROM settings AS set;
  |        ^

nene avatar Nov 14 '24 10:11 nene