fix parsing of INSERT INTO ... SELECT ... RETURNING (#1661)

This commit is contained in:
Ophir LOJKINE 2025-01-17 08:13:12 +01:00 committed by GitHub
parent b4b5576dd4
commit 3eeb9160ea
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 22 additions and 0 deletions

View file

@ -946,6 +946,7 @@ pub const RESERVED_FOR_TABLE_ALIAS: &[Keyword] = &[
Keyword::GLOBAL,
Keyword::ANTI,
Keyword::SEMI,
Keyword::RETURNING,
// for MSSQL-specific OUTER APPLY (seems reserved in most dialects)
Keyword::OUTER,
Keyword::SET,