nene/sql-parser-cst

Reserved keywords can't be used as aliases in PostgreSQL

Opened this issue · 0 comments

nene commented

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;
  |        ^