Re: Internationalization

Поиск
Список
Период
Сортировка
От Ian Lawrence Barwick
Тема Re: Internationalization
Дата
Msg-id CAB8KJ=gv795PSwwB0BW5yzLq_Prep-h-6-BoX2WSYTboQHhw3w@mail.gmail.com
обсуждение исходный текст
Ответ на Internationalization  (CS DBA <cs_dba@consistentstate.com>)
Ответы Re: Internationalization  (Kasia Tuszynska <ktuszynska@esri.com>)
Список pgsql-admin
2014-03-14 6:27 GMT+09:00 CS DBA <cs_dba@consistentstate.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


В списке pgsql-admin по дате отправления:

Предыдущее
От: CS DBA
Дата:
Сообщение: Internationalization
Следующее
От: Strahinja Kustudić
Дата:
Сообщение: Safe way to check for PostgreSQL replication delay/lag