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

   `ALTER SEQUENCE s OWNER TO SESSION_USER` fails with `Expected: SET SCHEMA 
after the sequence name, found: OWNER`.
   
   `AlterSequenceOperation::OwnerTo` holds an `Owner` read by `parse_owner`, 
like the other `OWNER TO` clauses, so a role name, `CURRENT_ROLE`, 
`CURRENT_USER` and `SESSION_USER` all work.


-- 
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: Support `ALTER ... LucaCappelletti94 (via GitHub) via github

Reply via email to