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

   `GRANT ALL PRIVILEGES (id) ON t TO r` failed with `Expected: TO, found: (`. 
PostgreSQL accepts a column list after `ALL [PRIVILEGES]` just as after 
`SELECT`, `INSERT`, `UPDATE` and `REFERENCES`, and grants those four privileges 
on the listed columns only 
([GRANT](https://www.postgresql.org/docs/current/sql-grant.html)). `REVOKE` 
takes the same form.
   
   `Privileges::All` keeps the list as `columns`. It is parsed for every 
dialect, like the column lists on the single privileges.


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

  • [PR] PostgreSQL: Parse a column ... LucaCappelletti94 (via GitHub) via github

Reply via email to