Reputation: 2943
I have a database with default LC_COLLATE=C
but I want to have different COLLATION
to one column in my table, how to do it?
Upvotes: 13
Views: 18661
Reputation: 2943
You can just alter column table
ALTER TABLE users ALTER COLUMN name SET DATA TYPE character varying(255) COLLATE "en_US"
Upvotes: 29