pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Peter Geoghegan <pg@bowt.ie>
Cc: Hari Sankar A <hsshanthamhari@gmail.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: Problem with PostgreSQL string sorting
Date: Wed, 15 Feb 2017 12:58:18 -0500
Message-ID: <18267.1487181498@sss.pgh.pa.us> (raw)
In-Reply-To: <CAH2-Wzm4sRNjERUxG5n_11WNXUUeKFToFnq_R5mVdmo_p5q-ww@mail.gmail.com>
References: <CAL1h+Q-6bmpGo2w+KvaT7ib4oE4NmoJvvxWp5jH9CaZT+M6cKw@mail.gmail.com>
	<CAH2-Wzk5NzT-Tsn+O+XLprGvPYD+Uk61kWeU1yVJZb97pJNQTg@mail.gmail.com>
	<16285.1487178313@sss.pgh.pa.us>
	<CAH2-Wzm4sRNjERUxG5n_11WNXUUeKFToFnq_R5mVdmo_p5q-ww@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

Peter Geoghegan <pg@bowt.ie> writes:
> On Wed, Feb 15, 2017 at 9:05 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> I believe most versions of libc use declarative specifications of locale
>> properties, so if you wanted to spend some time learning the language in
>> which those are written, you could make and install a locale that acts
>> like you want.  It's possible there's one out there already, because
>> a lot of people seem to want that.

> True. And, the declarative language glibc uses doesn't look that
> complicated to me. However, you'd really have to vendor your own glibc
> to make this work, since they are compiled to some binary
> representation when glibc is built. That's probably prohibitively
> complicated to manage.

Really?  "man localedef" certainly gives the impression that you can
just compile some more locales if you want.  Admittedly, your system's
package manager might have a hissy fit about nonstandard files
suddenly appearing in /usr/lib/locale, but that's not glibc's fault.

			regards, tom lane


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (7+ messages)  latest in thread

Message-ID: <18267.1487181498@sss.pgh.pa.us>
Permalink:  ../18267.1487181498@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/18267.1487181498@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, pg@bowt.ie, hsshanthamhari@gmail.com
  Subject: Re: Problem with PostgreSQL string sorting
  In-Reply-To: <18267.1487181498@sss.pgh.pa.us>
  References: <CAL1h+Q-6bmpGo2w+KvaT7ib4oE4NmoJvvxWp5jH9CaZT+M6cKw@mail.gmail.com> <CAH2-Wzk5NzT-Tsn+O+XLprGvPYD+Uk61kWeU1yVJZb97pJNQTg@mail.gmail.com> <16285.1487178313@sss.pgh.pa.us> <CAH2-Wzm4sRNjERUxG5n_11WNXUUeKFToFnq_R5mVdmo_p5q-ww@mail.gmail.com> <18267.1487181498@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox