putao520 opened a new issue, #2870:
URL: https://github.com/apache/datafusion-sqlparser-rs/issues/2870

   **Dialect**: PostgreSQL
   
   **Statement**
   
   ```sql
   CREATE USER u WITH CREATEROLE LOGIN PASSWORD 'p';
   ```
   
   **Current behavior**: `CREATE USER/ROLE` parses only `key = value` options, 
so the PG option keywords (`SUPERUSER`, `CREATEROLE`, `CREATEDB`, 
`NOCREATEROLE`, `LOGIN`, ...) are a syntax error.
   
   **Expected AST**: The PG role-option list on `CreateRole`.
   
   **0.63.0 anchor**: `mod.rs:5422-5448`
   
   **pg_regress coverage**: `create_role (regression)`
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to