Skip to content

Releases: oguimbal/pgsql-ast-parser

Support SKIP LOCKED and NOWAIT

05 Jun 08:34
Compare
Choose a tag to compare
  • Support SKIP LOCKED and NOWAIT #129

Multiple statements in alter tables

28 Aug 17:38
Compare
Choose a tag to compare

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 becomes changes (with a "s") and is an array of table alterations (TableAlteration[])

This is a PR to address the following issues:

8.0.0

28 Aug 17:48
Compare
Choose a tag to compare

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