Re: some tables unicode, some ascii?

Поиск
Список
Период
Сортировка
От Michael Fuhr
Тема Re: some tables unicode, some ascii?
Дата
Msg-id 20070225050117.GA62625@winnie.fuhr.org
обсуждение исходный текст
Ответ на some tables unicode, some ascii?  (Gene <genekhart@gmail.com>)
Список pgsql-general
On Sat, Feb 24, 2007 at 11:35:10PM -0500, Gene wrote:
> Is there a way to get the benefit of using ascii and the "C" locale
> for index usage on certain tables and unicode encoding on others
> (where peformance is not an issue)?  In particular the planner will
> not use index with Unicode on "like '123%' " queries.

See "Operator Classes" in the "Indexes" chapter of the documentation.

http://www.postgresql.org/docs/8.2/interactive/indexes-opclass.html

--
Michael Fuhr

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

Предыдущее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: Inserting a new column in between.
Следующее
От: "Jaime Casanova"
Дата:
Сообщение: Re: Why can't I put a BEFORE EACH ROW trigger on a view?