Skip to content
Discussion options

You must be logged in to vote

Could you change your collation at the column level?

ALTER TABLE people ALTER COLUMN name SET DATA TYPE text COLLATE "zh-x-icu"

select * from people order by name collate 'zh-x-icu'

The problem with supporting collation expressions is that they invalidate indexes(see indexes & collations) - they would open a door for forcing inefficient queries at the API level.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@sxynwh
Comment options

@steve-chavez
Comment options

@wolfgangwalther
Comment options

@sxynwh
Comment options

@wolfgangwalther
Comment options

Answer selected by wolfgangwalther
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants