test error

This commit is contained in:
Andrew Lamb 2022-12-28 10:11:36 -06:00
parent a1c7e07c65
commit 96a40a88a3

View file

@ -6466,11 +6466,9 @@ impl<'a> Parser<'a> {
}) })
} }
/// ```sql
/// CREATE [ { TEMPORARY | TEMP } ] SEQUENCE [ IF NOT EXISTS ] <sequence_name> /// CREATE [ { TEMPORARY | TEMP } ] SEQUENCE [ IF NOT EXISTS ] <sequence_name>
/// ```
/// ///
/// See [Postgres docs](https://www.postgresql.org/docs/current/sql-createsequence.html) for more details. /// See https://www.postgresql.org/docs/current/sql-createsequence.html for more details
pub fn parse_create_sequence(&mut self, temporary: bool) -> Result<Statement, ParserError> { pub fn parse_create_sequence(&mut self, temporary: bool) -> Result<Statement, ParserError> {
//[ IF NOT EXISTS ] //[ IF NOT EXISTS ]
let if_not_exists = self.parse_keywords(&[Keyword::IF, Keyword::NOT, Keyword::EXISTS]); let if_not_exists = self.parse_keywords(&[Keyword::IF, Keyword::NOT, Keyword::EXISTS]);