How can I use Postgres collation in Windows OS?

时间秒杀一切 提交于 2021-01-29 12:43:14

问题


I want to customize ICU Collation of Postgres server in my windows machine.

so I created a new collation using:

CREATE COLLATION digitslast (provider = icu, locale = 'ja-u-kr-latn-digit');

and expected as below.

ex)

# select code from table order by code collate "digitslast";

code |
-----+--
a    | ...
A    | ...
1    | ...
...  | ...

But result has the same order as the default order.

code |
-----+--
1    | ...
a    | ...
A    | ...
...  | ...

Is this possible? And is there some mistake?

来源:https://stackoverflow.com/questions/52143942/how-can-i-use-postgres-collation-in-windows-os

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!