Open
Description
In Postgres, COLLATE strings are just a typmod on the string type.
In CRDB, COLLATE is an entirely new type, with its own family and handling logic.
Unfortunately, this presents a problem when using "default" collation, which should store no typmod for the string object for collate. We however have pidgeonholed all our logic such that x COLLATE y
forms a CollatedString
type.
This is problematic for DEFAULT
collations when a user specifies it, as it tries to evaluate the language tag. Since we introduced DEFAULT column definitions in #56598, this is only a problem when someone does x COLLATE "default"
as a value.
Jira issue: CRDB-2845