From: | Ian Lawrence Barwick <barwick(at)gmail(dot)com> |
---|---|
To: | CS DBA <cs_dba(at)consistentstate(dot)com> |
Cc: | "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org> |
Subject: | Re: Internationalization |
Date: | 2014-03-14 00:58:00 |
Message-ID: | CAB8KJ=gv795PSwwB0BW5yzLq_Prep-h-6-BoX2WSYTboQHhw3w@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
2014-03-14 6:27 GMT+09:00 CS DBA <cs_dba(at)consistentstate(dot)com>:
> Hi All;
>
> we want to store data in a generic fashion (COLLATION / ENCODING?)
>
> and then define on the fly which language to display it in, as well as force
> that language rules for indexes & sorting. I know how to set COLLATION for
> the sorting / index rules but how would I force the select results to be
> displayed in another language such as French or German?
I'm not quite sure what you want to achieve here. PostgreSQL can't possibly
know what language the data in a given column is in, so you'd need to have
some kind of identifier (e.g. separate column specifying the language).
A more concrete example of what you want to do would help.
Regards
Ian Barwick
From | Date | Subject | |
---|---|---|---|
Next Message | Strahinja Kustudić | 2014-03-15 19:38:57 | Safe way to check for PostgreSQL replication delay/lag |
Previous Message | CS DBA | 2014-03-13 21:27:51 | Internationalization |