Allow ICU to use SortSupport on Windows with UTF-8
authorPeter Eisentraut <peter_e@gmx.net>
Sun, 24 Sep 2017 04:56:31 +0000 (00:56 -0400)
committerPeter Eisentraut <peter_e@gmx.net>
Sun, 24 Sep 2017 11:55:46 +0000 (07:55 -0400)
commit29923859f91f94c97417b8417ff8475cf4261be1
tree55084009ffaf31770792bfb6dced75d478791ee9
parent33e2f346b0689cf7631fcfe7db91dc56767f2659
Allow ICU to use SortSupport on Windows with UTF-8

There is no reason to ever prevent the use of SortSupport on Windows
when ICU locales are used.  We previously avoided SortSupport on Windows
with UTF-8 server encoding and a non C-locale due to restrictions in
Windows' libc functionality.

This is now considered to be a restriction in one platform's libc
collation provider, and not a more general platform restriction.

Reported-by: Peter Geoghegan <pg@bowt.ie>
src/backend/utils/adt/varlena.c