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)
You can trigger a rebase of this PR by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.
Bumps pgsql-ast-parser from 7.2.1 to 12.0.1.
Release notes
Sourced from pgsql-ast-parser's releases.
Commits
2c84d4c
Build deno [autogenerated commit]899f91e
bump5b7b81c
Add support for SET LOCAL and SET SESSION statements (#147)8e9ba23
Build deno [autogenerated commit]80c67f7
bump versiond79c866
feat: supportexpr WITHIN GROUP (ORDER BY expr)
(#137)b00be51
Add support for alter type command (#144)855ca49
Add support for SQL functions named left or right (#145)a43e896
Add support for concurrent index creation statements (#148)727463b
Support parsing and tagging lateral joins (#149)You can trigger a rebase of this PR by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show