Re: B-Tree support function number 3 (strxfrm() optimization) - Mailing list pgsql-hackers

From Wim Lewis
Subject Re: B-Tree support function number 3 (strxfrm() optimization)
Date
Msg-id 3A495AA8-47F7-45A0-AB18-D2EEA618471F@omnigroup.com
Whole thread Raw
In response to Re: B-Tree support function number 3 (strxfrm() optimization)  (Peter Geoghegan <pg@heroku.com>)
Responses Re: B-Tree support function number 3 (strxfrm() optimization)
List pgsql-hackers
On 28 Jul 2014, at 4:57 PM, Peter Geoghegan wrote:
> [....] Then
> again, who knows? The Mac OS X behavior seems totally arbitrary to me.
> If I had to guess I'd say it has something to do with their providing
> an open standard shim to a UTF-16 based proprietary API.

A quick glance at OSX's strxfrm() suggests they're using an implementation of strxfrm() from FreeBSD. You can find the
sourcehere: 
   http://www.opensource.apple.com/source/Libc/Libc-997.90.3/string/FreeBSD/strxfrm.c

(and a really quick glance at the contents of libc on OSX 10.9 reinforces this--- I don't see any calls into their
CoreFoundationunicode string APIs.) 






pgsql-hackers by date:

Previous
From: Peter Geoghegan
Date:
Subject: Re: Proposal to add a QNX 6.5 port to PostgreSQL
Next
From: Peter Geoghegan
Date:
Subject: Re: B-Tree support function number 3 (strxfrm() optimization)