nene / sql-parser-cst

Parses SQL into Concrete Syntax Tree (CST)
GNU General Public License v2.0
115 stars 7 forks source link

ALTER VIEW .. ALTER COLUMN takes column number, not name (in PostgreSQL) #70

Closed nene closed 3 months ago

nene commented 3 months ago

This is different from ALTER TABLE .. ALTER COLUMN

Currently the parser will fail for:

ALTER INDEX my_index ALTER COLUMN 1 SET STATISTICS 100