Re: Case Insensitive - Mailing list pgsql-general

From Steve Atkins
Subject Re: Case Insensitive
Date
Msg-id 150586A3-A8F4-4B80-9A4B-310DE265B4B3@blighty.com
Whole thread Raw
In response to Re: Case Insensitive  (Ron <ronljohnsonjr@gmail.com>)
Responses Re: Case Insensitive
Re: Case Insensitive
List pgsql-general

> On Mar 28, 2019, at 8:29 AM, Ron <ronljohnsonjr@gmail.com> wrote:
> 
> On 3/28/19 3:23 AM, Sameer Kumar wrote:
> [snip]
>> You can write a query with upper function:
>> 
>> select * from emp where upper(ename)=upper('aaa');
> 
> That's a guaranteed table scan.

Unless you have an index on upper(ename).

Cheers,
  Steve




pgsql-general by date:

Previous
From: Ron
Date:
Subject: Re: Case Insensitive
Next
From: Sameer Kumar
Date:
Subject: Re: Case Insensitive