Re: Proof of concept COLLATE support with patch - Mailing list pgsql-hackers

From Martijn van Oosterhout
Subject Re: Proof of concept COLLATE support with patch
Date
Msg-id 20050902155255.GB15466@svana.org
Whole thread Raw
In response to Proof of concept COLLATE support with patch  (Martijn van Oosterhout <kleptog@svana.org>)
Responses Re: Proof of concept COLLATE support with patch
List pgsql-hackers
On Fri, Sep 02, 2005 at 03:04:20PM +0200, Martijn van Oosterhout wrote:
> Supports any glibc platform and possibly Win32.

MacOS X [1] supports this also apparently. And for glibc it appears to
have been accepted as part of the API since 2.3.2 and formally accepted
into LSB3.0. Win32 claims to have supported this since '98.

But even though the MacOS X manpage says "BSD Library Functions" at the
top of the page, neither FreeBSD or OpenBSD doesn't appear to have it
at all. Not really a lot of chance that we could pull portions of the
Darwin libc into PostgreSQL, huh?

Maybe the easiest thing would be to download the libc locale support of
one of the BSDs, remove the global variable and use that...

[1] http://www.hmug.org/man/3/newlocale.php

Have a nice day,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> Patent. n. Genius is 5% inspiration and 95% perspiration. A patent is a
> tool for doing 5% of the work and then sitting around waiting for someone
> else to do the other 95% so you can sue them.

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Question about explain of index scan
Next
From: Christopher Kings-Lynne
Date:
Subject: Re: PL/pgSQL: EXCEPTION NOSAVEPOINT