From: | "Tomi NA" <hefest(at)gmail(dot)com> |
---|---|
To: | "Agent M" <agentm(at)themactionfaction(dot)com> |
Cc: | "Postgres general mailing list" <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: different sort order in windows and linux version |
Date: | 2006-07-02 21:14:54 |
Message-ID: | d487eb8e0607021414w496833f5t848ba4dc4cd7fa6a@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-hackers |
On 7/2/06, Agent M <agentm(at)themactionfaction(dot)com> wrote:
> Certain Japanese characters cannot make a reliable round-trip through
> Unicode. ICU uses UTF-16 as its store, so the Japanese folks won't be
> happy with an ICU-only solution. However, it would still be of great
Could you explain what you mean and what's special with those characters?
> benefit to allow ICU to handle as much as possible, leaving the string
> encodings to the encoding experts.
>
> At the very least, it would be great to have ICU to handle encoding on
> a per-column basis (perhaps extending the text datatype with encoding
> info). Perhaps this would be a decent stopgap solution? The backend
> protocol would also need a version bump- currently, it converts all
> strings to a single encoding.
Could you give an example of what that would look like in your opinion?
I was thinking more along the lines of a setting in pg_hba.conf where
the server uses or does not use something like ICU...at least as an
intermediate solution.
Adding a "LOCALE" clause to a column definition (similar to the
"ENCODING" clause of the "CREATE DATABASE" statement) would solve most
(not all) problems with a default locale.
There still might be some non-deterministic behaviour with operations
between strings in different locales but it's far from a showstopper.
t.n.a.
From | Date | Subject | |
---|---|---|---|
Next Message | Alexander Farber | 2006-07-02 21:17:12 | libpq: bind message supplies 2 parameters, but prepared statement requires 1 |
Previous Message | Rodrigo Gonzalez | 2006-07-02 20:29:57 | Re: Permission denied: logfile |
From | Date | Subject | |
---|---|---|---|
Next Message | Martijn van Oosterhout | 2006-07-02 21:26:56 | Re: different sort order in windows and linux version |
Previous Message | Pavel Stehule | 2006-07-02 19:59:26 | request for feature: table value constructor (related to multivalue insert stmt) |