Creating a case insensitive data type

Поиск
Список
Период
Сортировка
От Dave
Тема Creating a case insensitive data type
Дата
Msg-id 44764A99.8030606@gmail.com
обсуждение исходный текст
Ответы Re: Creating a case insensitive data type
Список pgsql-hackers
could CREATE TYPE be used to make a case insensitive version of varchar? 
So that doing something like LOWER(username) = 'joe' could just be done 
like username = 'joe' ?

I want to try to avoid using CREATE TYPE with C extensions and using a 
new operator all over the place is not an option... How could I do this? 
Can I accomplish this via another method?

-Dave


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

Предыдущее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: LIKE, leading percent, bind parameters and indexes
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Inefficient bytea escaping?