Re: Case sensitivity

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Case sensitivity
Дата
Msg-id 16183.1123599767@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Case sensitivity  (Martijn van Oosterhout <kleptog@svana.org>)
Ответы Re: Case sensitivity  (Martijn van Oosterhout <kleptog@svana.org>)
Список pgsql-general
Martijn van Oosterhout <kleptog@svana.org> writes:
> Another option would be to create a new datatype 'itext' which works
> like text except it compares case insensetively. PostgreSQL is flexible
> like that. Here's something to get you started, see below for example.

> http://svana.org/kleptog/pgsql/type_itext.sql

> At the moment it uses SQL functions for the comparisons, for production
> you'd probably want to have them in C for performance.

I believe there is a C-coded type like this on gborg ("citext" is the
name I think).

            regards, tom lane

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

Предыдущее
От: Richard Huxton
Дата:
Сообщение: Re: Cross database queries
Следующее
От: "Salem Berhanu"
Дата:
Сообщение: postgres & server encodings