Re-enable abbreviated keys on Windows.

Commit 1be4eb1b2d disabled this, but I
think the real problem here was fixed by commit
b181a91981 and commit
d060e07fa9.  So let's try re-enabling
it now and see what happens.
This commit is contained in:
Robert Haas 2015-01-26 14:28:14 -05:00
parent 599d00aa68
commit 168a809d4b

View File

@ -1817,13 +1817,7 @@ btsortsupport_worker(SortSupport ssup, Oid collid)
* keys optimization may win, and if it doesn't, the "abort abbreviation"
* code may rescue us. So, for now, we don't disable this anywhere on the
* basis of performance.
*
* On Windows, however, strxfrm() seems to be unreliable on some machines,
* so we categorically disable this optimization there.
*/
#ifdef WIN32
abbreviate = false;
#endif
/*
* If we're using abbreviated keys, or if we're using a locale-aware