Re: Case insensitive string comparison?

Поиск
Список
Период
Сортировка
От tjk@tksoft.com
Тема Re: Case insensitive string comparison?
Дата
Msg-id 200105211153.EAA24780@smtp3.tksoft.com
обсуждение исходный текст
Ответ на Re: Case insensitive string comparison?  (Cedar Cox <cedarc@visionforisrael.com>)
Список pgsql-sql
You can index the lower(...) queries, but you can't for the
regex queries.


Troy

> 
> 
> On Tue, 15 May 2001, Karel Zak wrote:
> 
> > On Tue, May 15, 2001 at 02:48:24PM +0200, Borek Lupomìský wrote:
> > >    Is there an operator for case insensitive string comparison, or
> > > should I use regular expression matching with ~* '^string$'?
> > 
> >  possibility:
> > 
> >     - use upper() / lower() inside query
> 
> Ok, this is probably a really silly question:  which is faster?
> I expect they are nearly identical code.  Just wondering...
> 
> -Cedar
> 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
> 
> http://www.postgresql.org/users-lounge/docs/faq.html
> 



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

Предыдущее
От: Karel Zak
Дата:
Сообщение: Re: Case insensitive string comparison?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: HELP: what's wrong with my PL/PSQL function??