LucaCappelletti94 opened a new pull request, #2736:
URL: https://github.com/apache/datafusion-sqlparser-rs/pull/2736

   `REVOKE ADMIN OPTION FOR bypasser FROM anon` failed with `Expected: a 
privilege keyword, found: ADMIN`. PostgreSQL withdraws one option of a role 
membership while keeping the membership with `name OPTION FOR`, such as `ADMIN 
OPTION FOR` or, from PostgreSQL 16, `SET OPTION FOR` 
([REVOKE](https://www.postgresql.org/docs/current/sql-revoke.html)).
   
   `RevokeRole` now keeps the name as `option_for`. `GRANT OPTION FOR` still 
goes to the privilege form, and the name stays an identifier because 
PostgreSQL's grammar accepts any name there.


-- 
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