How can I pass COLLATE in a request? #1964
-
e.g. |
Beta Was this translation helpful? Give feedback.
Answered by
steve-chavez
Sep 25, 2021
Replies: 1 comment 5 replies
-
Could you change your collation at the column level? ALTER TABLE people ALTER COLUMN name SET DATA TYPE text 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. |
Beta Was this translation helpful? Give feedback.
5 replies
Answer selected by
wolfgangwalther
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Could you change your collation at the column level?
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.