Re: collation from an external file

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: collation from an external file
Дата
Msg-id 6472.1404828276@sss.pgh.pa.us
обсуждение исходный текст
Ответ на collation from an external file  (nikybolzo <nikybolzo@yahoo.it>)
Список pgsql-novice
nikybolzo <nikybolzo@yahoo.it> writes:
> I'm new of the world postgresql, so please help me. I can't understand how
> to define a new collation from an external file. I have a DB and i have to
> define a new collection for all the column so i try to use:
> CREATE COLLATION mycollation FROM "it-IT"
> but i don't know how to add my cases of preferences ( preferences example:
> b     B, c     C,d     D,e     E,é     É)

That's not really our department: Postgres just uses the operating
system's locale support for collations.  You'd need to read up on
your system's facilities for creating locale definitions.  On Linux,
"man localedef" would be a starting point; dunno about other systems.

            regards, tom lane


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

Предыдущее
От: nikybolzo
Дата:
Сообщение: collation from an external file
Следующее
От: Magnus Persson
Дата:
Сообщение: How to practice on EXPLAIN/optimizing queries/constructing indices