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

   `ALTER EXTENSION citext SET SCHEMA other`, and every other form of the 
statement, fails with `Expected: one of VIEW or MATERIALIZED VIEW or ..., 
found: EXTENSION`, because `parse_alter` has no `EXTENSION` arm.
   
   This adds `Statement::AlterExtension`, which holds the extension name and an 
`AlterExtensionOperation` whose first variant is `SetSchema`, shaped like the 
one of `ALTER COLLATION`.
   
   It is the first PR of what I expect to be a rather high stack of PRs that 
adds the [`ALTER EXTENSION` 
grammar](https://www.postgresql.org/docs/current/sql-alterextension.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]

  • [PR] PostgreSQL: Support `ALTER ... LucaCappelletti94 (via GitHub) via github

Reply via email to