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:24 +0000 (07:55 -0400)
commit6dda0998afc7d449145b9ba216844bdba7a817d6
tree619337522ed6a6a87597546e3ab9591287ec5f97
parent9b31c72a9492880e657b68b1ed971dec3c361c95
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