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

   `CREATE USER MAPPING FOR app SERVER s OPTIONS ("user" 'remote')`, which 
`pg_dump` writes for every user mapping, failed with `Expected: =, found: app` 
because `CREATE USER` read `MAPPING` as a user name. The statement is 
recognised by `USER MAPPING FOR` or `USER MAPPING IF NOT EXISTS`, so `CREATE 
USER mapping` still creates a user. The user is a role name or one of `USER`, 
`CURRENT_ROLE`, `CURRENT_USER`, `SESSION_USER` and `PUBLIC`.
   
   https://www.postgresql.org/docs/current/sql-createusermapping.html


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