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

   `ALTER TABLE t ALTER COLUMN a TYPE TEXT COLLATE "C"` and `ALTER TABLE t 
ALTER COLUMN a SET DATA TYPE TEXT COLLATE "C" USING a::TEXT` failed with 
`Expected: end of statement, found: COLLATE`, although PostgreSQL accepts `[ 
COLLATE collation ]` between the type and `USING` ([ALTER 
TABLE](https://www.postgresql.org/docs/current/sql-altertable.html)).
   
   `AlterColumnOperation::SetDataType` now holds an optional `collation`.


-- 
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 COLLATE... LucaCappelletti94 (via GitHub) via github

Reply via email to