Setting of locales at runtime ?

Поиск
Список
Период
Сортировка
От David Sauer
Тема Setting of locales at runtime ?
Дата
Msg-id m2zovkf85h.fsf@chameleon.localdomain
обсуждение исходный текст
Список pgsql-general
Hi,

  I have question about postgres: it is possible (or planned) to change
locales (and sorting) at runtime ? For example, I will have 2 tables, in 2
different languages. I want following:

set locale cs;
select * from table1 order by 1;   // this will sort by first column
                                   // and use czech locale

set locale es;
select * from table2 order by 2;  // this will sort using spanish locale


                                        thanks,

                                                David

--
* David Sauer, student of Czech Technical University
* electronic mail: davids@penguin.cz (mime compatible)

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

Предыдущее
От: Jose Soares
Дата:
Сообщение: Re: [GENERAL] Where is IFNULL?
Следующее
От:
Дата:
Сообщение: Re: [GENERAL] Error: Using Large Objects by perl5-Interface