pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ron <ronljohnsonjr@gmail.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: Case Insensitive
Date: Thu, 28 Mar 2019 03:29:55 -0500
Message-ID: <c86c6b09-31fa-f27d-b373-3d604d4ca2a0@gmail.com> (raw)
In-Reply-To: <CADp-Sm4RWjbFQix1_XH7hstj6FY-EZj-f2veSgR_Z7Ut=tdDEA@mail.gmail.com>
References: <CAGuFTBU1fACZWYdVwU-HiBJWAt2QFRa9fkB+SovmVMoUjVbekw@mail.gmail.com>
	<CADp-Sm4RWjbFQix1_XH7hstj6FY-EZj-f2veSgR_Z7Ut=tdDEA@mail.gmail.com>

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.


-- 
Angular momentum makes the world go 'round.

view thread (21+ messages)  latest in thread

Message-ID: <c86c6b09-31fa-f27d-b373-3d604d4ca2a0@gmail.com>
Permalink:  ../c86c6b09-31fa-f27d-b373-3d604d4ca2a0@gmail.com/
Also on:    postgresql.org/message-id/c86c6b09-31fa-f27d-b373-3d604d4ca2a0@gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: ronljohnsonjr@gmail.com
  Subject: Re: Case Insensitive
  In-Reply-To: <c86c6b09-31fa-f27d-b373-3d604d4ca2a0@gmail.com>
  References: <CAGuFTBU1fACZWYdVwU-HiBJWAt2QFRa9fkB+SovmVMoUjVbekw@mail.gmail.com> <CADp-Sm4RWjbFQix1_XH7hstj6FY-EZj-f2veSgR_Z7Ut=tdDEA@mail.gmail.com> <c86c6b09-31fa-f27d-b373-3d604d4ca2a0@gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox