LucaCappelletti94 opened a new pull request, #2849: URL: https://github.com/apache/datafusion-sqlparser-rs/pull/2849
`ALTER DATABASE d ALLOW_CONNECTIONS false` fails with `Expected: RENAME TO, OWNER TO, SET, RESET or REFRESH COLLATION VERSION after ALTER DATABASE, found: ALLOW_CONNECTIONS`. This adds the `[WITH] option` form, the last one of `ALTER DATABASE`. Options are kept as name and value pairs, because PostgreSQL's grammar takes any identifier there and leaves the check to the server. It works with the examples I have taken from the documentation. This is the last one of the stack. -- 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]
