Skip to content

Commit 1118ae4

Browse files
committed
Always accept ALTER USER
1 parent 51621b5 commit 1118ae4

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/parser/alter.rs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,7 @@ impl Parser<'_> {
4040
}
4141

4242
pub fn parse_alter_user(&mut self) -> Result<Statement, ParserError> {
43-
if dialect_of!(self is PostgreSqlDialect) {
44-
return self.parse_pg_alter_user();
45-
}
46-
Err(ParserError::ParserError(
47-
"ALTER USER is only supported for PostgreSqlDialect".into(),
48-
))
43+
self.parse_pg_alter_user()
4944
}
5045

5146
/// Parse ALTER POLICY statement

0 commit comments

Comments
 (0)