Releases: oguimbal/pgsql-ast-parser
Releases · oguimbal/pgsql-ast-parser
Support SKIP LOCKED and NOWAIT
Multiple statements in alter tables
Thanks to @bchelli via his PR #60 and @clemens-smartparking via this PR
🚨🚨🚨 BREAKING CHANGE 🚨🚨🚨
This is breaking the AST interface for the alter table statement
change
becomeschanges
(with a "s") and is an array of table alterations (TableAlteration[]
)
This is a PR to address the following issues:
8.0.0
Breaking changes
- This release has one major breaking change:
INSERT [...]
statements were parsed as an InsertStatment
having a values
property when parsing an insert ... values ...
, or a select
property when parsing an insert ... select ...
.
Given that the VALUES (...)
is now handled as a statement (yes, it is a valid pgsql statement...Try it !), the INSERT
statement is now parsed with a single insert
property, wether it is an insert ... values
or an insert ... select
(see ast diff)
- "default" keyword is now handled as an expression
Other changes
- Handle "restart identity" on trucation thanks to @RafaelGSS (see his PR)