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

   `ALTER TYPE en SET SCHEMA other` fails with `Expected: {RENAME TO | { RENAME 
| ADD } VALUE}, found: SET`, so a migration that moves a type to another schema 
cannot be read.
   
   `AlterTypeOperation` gets a `SetSchema` variant shaped like the ones of 
`ALTER VIEW` and `ALTER COLLATION`. 
   
   This is the first PR of a stack that adds the rest of the [`ALTER TYPE` 
grammar](https://www.postgresql.org/docs/current/sql-altertype.html), so as to 
keep the PRs as small and modular as possible.


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